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.

Also, check this article: https://parade.com/295384/marilynvossavant/can-stars-be-green-or-purple/