Here you can read the relations between a photon's momentum and things like wavelength. Without any mass :)
https://en.wikipedia.org/wiki/Photon_momentum#Physical_prope...
(You need to scroll down a bit for the formulas)
These results come from special relativity(and a bit of quantum mechanics), which you really need if things don't have mass.