Kinetics energy expression of photon
A photon has no mass and moves at relativistic speeds, therefore you can't use the usual expression for the kinetic energy.

The energy of a photon is given by (as you already stated)
$$
E = \frac{hc}{\lambda}
$$
where $h$ is Planck's constant, $c$ the speed of light and $\lambda$ the wavelength of the photon.

You can derive it from the relativistic energy
$$
E^2 = p^2c^2 + m^2c^4
$$
with $m =0$ and using the fact that for a photon
$$
p = \hbar k = \frac{h\nu}{c} = \frac{h}{\lambda}.
$$