In plants, pigment genes produce pigment proteins which reflect light at different wavelengths.
Presence of purple pigments result in purple pea flowers (dominant), while a mutant allele yields no purple pigments (recessive).
Thus homozygous recessive plants show white flowers due to lack of pigments.