The deviation of light through a prism is inversely proportional to its wavelength. Red light has the longest wavelength and is therefore least deviated. Violet light has the shortest wavelength and is most deviated.