Alleles.
In the P generation, the purple plants are homozygous for the dominant allele (P), and their genotype is PP.
The white plants are homozygous for the recessive p allele, and their genotype is pp.
The F1 generation plants are all heterozygous (Pp) and express the dominant trait.