Since the wavelengths of different components of white light are different and the frequency is constant, each component gets deviated by a different angle due to the difference in velocity in the dispersive medium.
For example:
The red colour deviates the least and forms the upper part of the spectrum whereas violet deviates the most. Because the red has maximum wavelength and violet has the least wavelength among the component colours of white light.
Since the wavelengths of different components of white light are different and the frequency is constant, each component gets deviated by a different angle due to the difference in velocity in the dispersive medium.
For example:
The red colour deviates the least and forms the upper part of the spectrum whereas violet deviates the most. Because the red has maximum wavelength and violet has the least wavelength among the component colours of white light.