AWN,

The primer is not the issue here, the cement is.

Purple primers made to ASTM F656 can be used on either PVC or CPVC piping products.

I suspect you used a multipurpose or all purpose...