Answer: The fourth power of the wavelength has an inverse relationship with the quantity of scattering. Rayleigh scattering is what is happening here.
The atmospheric particles disperse sunlight as it passes through the earth’s atmosphere. Compared to light with longer wavelengths, light with shorter wavelengths scatters far more.
Because blue has a shorter wavelength than red and is more forcefully distributed, it is the predominant colour in a clear sky. Given its shorter wavelength than blue, violet actually scatters more light than blue. However, we see the sky as blue because our eyes are more sensitive to blue than violet.