When white light passes through a prism, then it refracts and splits into different colors. Angle of deviation of each color depends on the wavelengths. Larger wavelength of light deviates less and smaller wavelength of light deviates more. Thus, the correct order will be Red, Green, Blue, Yellow, Violet.