As you move from red to violet, the wavelength of the light waves
gets shorter, and the frequency gets higher. Also, each photon
carries more energy as you move in that direction. One photon
of violet light carries roughly twice as much energy as one photon
of red light does.