# Why violet light bends the most? [duplicate]

I have read about refraction through a triangular prism,rainbow formation and other natural phenomena.They all told about the strong bending of violet light . I know that it has a shorter wavelength and high frequency.From the sources I searched I get to a conclusion that it is because of the above mentioned property.I also know that it has a smaller critical angle.what accounts for such properties?