A dispersive medium is a medium in which waves of different frequencies travel at different velocities.
Not all mediums are dispersive.
Sound waves in Air are not dispersive .
While water is a dispersive medium.
Primes, glasses, lenses are made of the same material, and are all dispersive medium
Hope this helps :)