The violet light and ultraviolet light differ in their wavelength, frequency, and quantum energy. The differences between ultraviolet light and x-rays are also wavelength, frequency and quantum energy. In the electromagnetic spectrum, ultraviolet is beyond violet, x-rays are beyond ultraviolet, and gamma rays are beyond x-rays.