Since the purple (P) dominate, all offspring of a cross with a recessive (p) would be purple but would carry the gene for white (p). They would have the geneotype Pp but would have the phenotype purple.
Genotype is what genes you have and phenotype is what genes are expressed or seen.