When light passes through a prism, different colors of light are refracted by different amounts. The angle of deviation depends on the wavelength of the light. Violet light, which has the shortest wavelength, undergoes the greatest deviation, while red light, which has the longest wavelength, undergoes the least deviation.
Thus, the light with the maximum angle of deviation is violet.