Quality is a general term, purity is much more specific.
You could have a product which is incredibly pure but is of the wrong quality, say the spec' calls for it to be a dilute product not 100% pure.
Quality depends on a specification, whereas purity is a measurable attribute.
Without a spec' or a general concept like 'fit for purpose' quality is meaningless.
health warning: These posts may contain traces of nut.
"No-one gets an ironclad guarantee of success. Certainly, factors like opportunity, luck and timing are important. But the backbone of success is usually found in old-fashioned, basic concepts like hard work, determination, good planning and perseverance" -- Mia Hamm