E = energy, h = Planck's constant, f = frequency
The energy of a photon is proportional to its frequency, the constant of proportionality being called Planck's constant, after Max Planck, who discovered this relation.
Quantum Physics of Atoms, Molecules, Solids, Nuclei and Particles, R Eisberg, R Resnick, John Wiley & Sons, 2nd edition, 1985