The cause of dispersion of light is due to the different speeds by which the different constituents of light travel in a dense medium.It is also caused due to the different wavelengths of the constituents of light,causing different speeds in the dense medium.