Correct answer will be :
Option D
Reason:
Dispersion takes place because the refractive index of medium for different wavelengths (colours) is different. The refractive index is inversely proportional to l Since red is more than other colours wavelength. So, deviation is least for red and it appears farthest from the base of the prism.