Skip to content
Part IA Michaelmas Term

CIE XYZ Colour Space

Design Goals

CIE XYZ (1931) was designed with specific objectives:

  1. Abstract from specific display primaries
  2. All colour matching functions positive (no negative light)
  3. The Y value approximates luminance

XYZ Values

Given a light spectrum L(λ)L(\lambda), compute XYZ:

X=L(λ)xˉ(λ)dλX = \int L(\lambda) \bar{x}(\lambda) d\lambda

Y=L(λ)yˉ(λ)dλY = \int L(\lambda) \bar{y}(\lambda) d\lambda

Z=L(λ)zˉ(λ)dλZ = \int L(\lambda) \bar{z}(\lambda) d\lambda

where xˉ\bar{x}, yˉ\bar{y}, zˉ\bar{z} are the CIE colour matching functions.

CIE 1931 colour matching functions

Properties of XYZ

PropertyDescription
All positiveAll physically realisable colours have X, Y, Z ≥ 0
Y = LuminanceThe Y value approximates perceived brightness
Device-independentNot tied to any specific display technology
Imaginary primariesThe X, Y, Z primaries cannot be physically realised

Chromaticity Coordinates

To separate colour from intensity, normalise XYZ:

x=XX+Y+Z,y=YX+Y+Z,z=ZX+Y+Zx = \frac{X}{X + Y + Z}, \quad y = \frac{Y}{X + Y + Z}, \quad z = \frac{Z}{X + Y + Z}

Note: x+y+z=1x + y + z = 1, so we only need (x,y)(x, y) to specify chromaticity.

Why Chromaticity?

  • Removes luminance information
  • Describes “colour” independent of brightness
  • Useful for comparing colours at different intensities

The Chromaticity Diagram

CIE xy chromaticity diagram with spectral locus

Regions

RegionDescription
Curved edgePure wavelengths (spectral colours)
Straight line (bottom)Non-spectral purples (red + blue mixtures)
InteriorMixtures of wavelengths
Points outsideNot physically realisable

Reading the Diagram

  • White point: Near the centre (depends on illuminant)
  • Saturation: Colours near the edge are more saturated
  • Hue: Position around the diagram

Colour Gamuts

A gamut is the range of colours a device can reproduce, shown as a triangle on the chromaticity diagram.

Chromaticity diagram with sRGB, Adobe RGB, Rec. 2020 triangles

Common Gamuts

GamutUseSize
sRGBStandard displays, webSmall
Adobe RGBPhotography, printingLarger green region
DCI-P3Digital cinemaMedium-large
Rec. 2020HDR, ultra-HDVery large

Why XYZ Matters

Standard Reference

  • XYZ is the “lingua franca” of colour science
  • All other RGB spaces are defined by transforms to/from XYZ
  • Enables colour communication between different devices

Advantages

  • No single RGB gamut covers all colours
  • XYZ captures all visible colours
  • Transformations preserve the physical meaning

Summary

  • CIE XYZ is a device-independent colour space designed in 1931
  • Y approximates luminance; X and Z describe chromaticity
  • Chromaticity coordinates (x, y) separate colour from intensity
  • All visible colours fall within the chromaticity diagram

Past Paper Questions

2024 Paper 3 Question 3: What is the CIE XYZ colour space? Why were specific design goals chosen for X, Y, and Z?

2023 Paper 3 Question 4: Explain the purpose of chromaticity coordinates.

2022 Paper 3 Question 3: What does the curved edge of the chromaticity diagram represent?