The correct answer is: A. The violet ray

When white light passes through a glass prism, it is refracted (bent) by the glass. The amount of refraction depends on the wavelength of the light. Shorter wavelengths of light, such as violet, are refracted more than longer wavelengths of light, such as red. This is why the spectrum of white light is spread out into a rainbow of colors.

The violet ray is deviated the most because it has the shortest wavelength. The red ray is deviated the least because it has the longest wavelength. The green ray and the blue ray are deviated in between the violet ray and the red ray.

Here is a diagram that shows how white light is refracted by a glass prism:

[Diagram of a glass prism with white light passing through it and being refracted into a spectrum]

The light that is refracted the most is the violet light, which is on the left side of the spectrum. The light that is refracted the least is the red light, which is on the right side of the spectrum. The green light and the blue light are refracted in between the violet light and the red light.