A glass prism splits white light into different colours. This phenomenon is called dispersion of light by prism. Which one of the following statements is correct?

A. Red light will deviate the most and it is because of the reflection of light
B. Violet light will deviate the most and it is because of the refraction of light
C. Red light will deviate the most and it is because of the refraction of light
D. Violet light will deviate the most and it is because of the reflection of light