sometimes temperature, sometimes strain genetics, sometimes nutrient deficiency.
not sure of anything else that would do it.

too much light is said to even bleach the buds, but no purpling from that.