Borrowed from Late Latin pūritātem, from Latin pūrus (“pure”). Cf. also the older or rarer variants, poridad and poridat, inherited from Old Spanish and later modified.
Practice speaking and memorizing "puridad" and many other words and sentences in Spanish.