In many jurisdictions, purple PVC primer is required by local plumbing codes for PVC pipe applications. It is commonly used to prepare the surface of the PVC pipe before applying the solvent cement. The purple color helps to visually indicate that the primer has been applied, ensuring proper preparation of the pipe before joining. Always check local plumbing codes and regulations to determine whether the use of purple PVC primer is required for your specific application.