Showing maldavin (an anthocyanin) absorbs in a different range to chlorophyll
In flowers, bright-reds and purples attract pollinators. In fruits, the colourful skins also attract the attention of animals, which may eat the fruits and disperse the seeds.
In photosynthetic tissues (such as leaves and sometimes stems), anthocyanins have been shown to act as a "sunscreen". They protect cells from high-light damage by absorbing blue-green and ultraviolet light. Ionizingradiation can damage DNA.
There are some other suggestions. The red colour of leaves may camouflage leaves from herbivores blind to red wavelengths. The pigment may signal bad taste, since anthocyanin synthesis often comes with unpalatable phenolic compounds.
↑ 1.01.1Jack Sullivan (1998). "Anthocyanin". Carnivorous Plant Newsletter (CPN) September 1998. Archived from the original on 1 November 2009. Retrieved 6 October 2009. CS1 maint: discouraged parameter (link)