Spectral Power Distributions and Why RGB Is Not Enough
The physical truth about a beam of light is a curve - energy per wavelength across the visible spectrum. Cameras, screens, and CSS reduce that curve to three numbers, and most of the time we get away with it. The other times - the ones that matter for matching, printing, and rendering - are why the full spectrum still rules.
Advanced SPD workbench
A spectrum becomes useful when you can pass it through the whole chain: source SPD, surface reflectance, observer or sensor response, sampling resolution, and illuminant change. This workbench lets those pieces interact as one system instead of as isolated definitions.
Model source, material, observer, metamerism, and sampling loss
Choose a source, sculpt a reflectance curve, and change the simulated sensor. The canvas shows source power, reflectance, and the stimulus SPD that reaches the observer. The readouts show the compressed three-channel result and how much information is lost.
The same reflectance can compress to similar three-channel values while the underlying stimulus curves remain very different.
What an SPD actually is
A spectral power distribution (SPD) is a curve. The horizontal axis is wavelength, usually 380 to 780 nanometers in steps of 5 or 10. The vertical axis is radiant power per unit wavelength - how much energy the light carries at each wavelength. That single curve is the physically complete description of a beam of light. Everything else - intensity, color, color temperature, CRI - is derived from it.
There are two practical forms. Continuous SPDs describe sources whose emission varies smoothly with wavelength - sunlight, incandescent bulbs, blackbody radiators of any kind. Discrete SPDs are sharp peaks at specific wavelengths - gas-discharge lamps, lasers, sodium-vapor street lights. Mixed SPDs have both, like fluorescent tubes (phosphor continuum with mercury peaks) or "white" LEDs (blue pump peak plus a broad phosphor hump).
Anatomy of a spectrum
Three types of features show up in almost every real SPD: a broad continuum from thermal sources or phosphors; narrow peaks from gas discharges or laser pumps; and a baseline that may dip toward zero outside the visible band. Reading an SPD comes down to identifying these features and reasoning about what they will do to a particular cone, observer, or camera.
Mix three Gaussian components into a working spectrum
Each slider controls a separate spectral component: amplitude, center wavelength, and width. The final curve is the sum. Watch the resulting color swatch, integrated luminance, and rough color temperature update as you reshape the curve.
- Approximate appearance
- #888888
- Estimated CCT
- 3400 K
- Total radiant power (rel)
- 110.0
- Visible-band ratio
- 94.2%
The standard illuminants
To measure or specify color across labs, the CIE published reference light sources - standard illuminants - as named SPDs. Pick one as your reference, multiply it by your sample's reflectance, integrate against the standard observer, and you get the tristimulus values that uniquely identify the color under that illuminant. Different illuminants will produce different tristimulus values for the same surface, which is the whole reason illuminant choice matters.
Six published illuminants, drawn to scale
Click a tab to switch illuminants. Notice the differences. Daylight (D65, D50) is broad and balanced. Tungsten (A) is heavily red-weighted. Fluorescent (F2) has narrow mercury spikes on top of a phosphor continuum. LED 4000 K has a blue pump peak and a yellow-orange phosphor hump. Sodium is essentially monochromatic.
- Illuminant name
- D65 (average daylight)
- Correlated color temperature
- 6504 K
- Approximate appearance
- #ffffff
- Typical use
- Web, screens, sRGB white point
From spectrum to color
The path from physical SPD to a numerical color goes through one operation: integration against the standard observer's color matching functions (x̄(λ), ȳ(λ), z̄(λ)). Each tristimulus value X, Y, Z is a weighted sum of the SPD over wavelength.
That is the formal moment color science becomes a number. Before this integration, a spectrum lives in a function space of effectively infinite dimensions. After it - whether by cones in a living eye or by computation against the CMFs - it lives in three. Two SPDs that integrate to the same XYZ triplet are, by definition, colorimetrically identical, even if their underlying physics is completely different.
Shape a spectrum and watch X, Y, Z respond
The slider scrolls a narrow spectral "spike" of constant area across the visible band. The right side shows where the spike lands inside each CMF, and how the X, Y, Z totals respond. Read this as: "what color does the brain see if you flash this single wavelength of light?"
- Tristimulus X
- 0.000
- Tristimulus Y
- 1.000
- Tristimulus Z
- 0.000
- Chromaticity (x, y)
- 0.330, 0.660
- Approximate appearance
- #88ee44
Why RGB is not enough
Three numbers can describe what the human eye perceives, but they cannot describe the physical light that produces that perception. There are infinitely many SPDs that compress to the same RGB - or to the same XYZ - because cones and color matching functions both collapse the spectrum by integration.
That collapse is not a bug; it is the price of efficiency. Three cones cannot store an 81-point spectrum. They report integrated responses, a lossy compression that works most of the time because human vision is the destination. The problems show up whenever the destination changes - a different observer, a different illuminant, a different sensor, a different recipient material.
What RGB can do
Match the visual experience of a calibrated observer under the same conditions you captured. Drive a display whose primaries are well-specified. Travel through web pipelines using sRGB or Display P3.
What RGB cannot do
Predict the color under a different illuminant. Predict the camera response of a different sensor. Identify two materials with identical spectra. Match a paint sample under D50 viewing if it was specified under D65.
Metamerism
Two stimuli with different SPDs but identical tristimulus values are called metamers. Under one illuminant and one observer, they look the same. Under a different illuminant - or a different observer with slightly different cone sensitivities - they often look different. This is the source of an entire category of practical problems in printing, paint matching, textile dyeing, and display calibration.
Build a metameric pair, then change the illuminant
Two patches share the same approximate Y under D65 by construction. One has a smooth daylight-like SPD; the other has narrow phosphor-like spikes. Under D65 they match. Switch the illuminant to A (tungsten) or F2 (fluorescent) - or one you build yourself - and the two patches diverge by an amount that depends on how peaky each SPD is.
Color rendering: CRI, Ri, TM-30
Two light sources can have the same color temperature - and therefore look the same color when the bulbs are turned on - yet make objects in a room look very different. The color rendering index (CRI, also called Ra) is a 0-100 score summarizing how faithfully a light source reproduces a standard set of reference colors compared to a reference of the same correlated color temperature. CRI 100 is perfect (matches the reference exactly); CRI 80 is the rough threshold for residential use; CRI 90+ is considered "excellent."
CRI has well-documented limitations. It uses only eight desaturated patches (R1-R8), can be gamed by sources that score well on Ra while failing on the four saturated samples (R9-R12, especially R9 deep red). The newer IES TM-30-15 standard uses 99 evaluation samples plus separate Fidelity (Rf) and Gamut (Rg) scores to give a more nuanced picture.
Score a synthetic light source against a daylight reference
Adjust the relative phosphor balance. The bar chart below shows the simulated R1-R8 color rendering scores plus the deep-red R9. A score of 100 means a sample under your light looks identical to its appearance under D65; less means the sample has shifted.
- Ra (CRI average)
- 82
- R9 deep red
- 45
- Approximate CCT
- 4100 K
- Quality verdict
- Acceptable for residential, poor for retail and skin tones
- Likely best fit
- Office, general purpose
SPDs in the real world
A handful of source archetypes account for almost every light you will ever see. Each has a distinctive SPD signature.
When SPDs really matter
In many everyday situations, RGB is enough. The screen you are reading lives on three primaries and most viewers will never notice. But there are specific workflows where the full spectrum is non-negotiable.
Test your understanding
Six questions on SPDs, illuminants, and the limits of three-number color. Wrong answers come with brief explanations.
Quick check
Continue your journey
What Color Is and How Humans See It
The cornerstone explainer. Light, surface, eye, brain, standards in one interactive primer.
Foundations · 02History of Color Science from Newton to Hering
Three centuries of color thought, with interactive prism and opponent demos.
Physics · 03Physics of Light, Wavelength, and Spectrum
The EM family, photons, blackbody radiation, refraction, scattering, polarization.
Vision · 05Human Color Vision: Cones, Opponent Signals, and the Brain
Where the spectrum stops being physics and starts being perception.
Colorimetry · 08CIE XYZ Explained
The destination of every SPD integration: the universal tristimulus reference space.
Colorimetry · 11Metamerism Explained
Deep-dive into the phenomenon that makes SPDs irreplaceable.