Purple expressions in cannabis genetics are natural and are largely dependent on the flavonoids within the flower.
Many people in the cannabis community wrongly think that flavonoids (or bioflavonoids; from the Latin word flavus, meaning yellow) have something to do with flavor, but in fact, it has to do with color.