Quality is value to some person.
Gerald M. Weinberg. Agile and the Definition of Quality
Values are desirable characteristics or qualities of things, ideas, activity patterns, and everything that actually has characteristics. Wiktionary defines value as the quality that renders something desirable or valuable.
According to ISO 9000:2015 quality is determined by matching a set of inherent characteristics with a set of requirements. The degree of the match determines the result of the quality assessment. Therefore value is strongly related to a group of people to take advantage of using a particular artifact. To address these groups we need to identify them according to the role they are playing in a given use case.
Value is a function of quality and cost. So, on limited resources, not all desired qualities are available in any amount. Priorities need to be specified by the stakeholders.