# Why don't we see purple stars

I know that we don't see green stars because in blackbody radiation star doesn't produce one spectrum.

The stars that have peaks in the green spectrum produce other spectrum in nearly same amout. This make them appear white.

If stars have peaks in the infrarad spectrum that has wavelength little longer than red.

We see those stars red because they produce red spectrum more than other visible spectrum.

But if stars have peaks in the ultraviolet spectrum that has wavelength little shorter than violet. Why don't we see those stars purple ?

Purple and green star exists. For example, a blue supergiant star can have its surface temperature to 50000 K, which peaks at purple in the blackbody spectrum. However, our eyes are more sensitive to blue than purple, and the contrast between blue and purple in the spectrum is insignificant, therefore we see blue.

Short answer: most stars emit a very wide range of wavelengths, from MHz (radio) to gamma ray, $$10^{19} Hz$$ -- albeit rather little of the latter. But what we see is the combined wavelengths that our retina responds to, and due to the blackbody curve, by the time there's enough energy/temperature to produce a lot of blue or violet photons, the number of yellow/red photons swamps them.