It's all about genetics man. I've grown a few strains where whole buds have gone purple by week 6 or 7 of flowering. Its nothing bad and actually give the plant a pretty cool look. Usually, the purple color will come out if the temps get on the cold side overnight or during the dark part of your light cycle. So don't worry, be happy you got a pretty phenotype.