The pigments that give these foods their rich red, blue and purple hues belong to a group of plant compounds called anthocyanins, a kind of antioxidant that offers anti-inflammatory benefits.