Resources
Deep DiveApr 8, 2026 · 8 min read

CIELAB vs sRGB: why perceptual color space matters for brand AI

When most brand teams think about color consistency, they think in hex codes. The brand's primary warm is #f5f0e8. The accent gold is #d4a853. Simple, precise, reproducible. So why do AI-generated images that technically match the brand palette often still feel visually wrong?

The answer is that hex codes — and the sRGB color space they live in — describe color as screen hardware sees it, not as humans perceive it. When you use sRGB values to measure or guide color in AI generation, you're optimizing for the wrong thing.

What sRGB actually measures

sRGB is a device-dependent color space defined in 1996 by HP and Microsoft for CRT monitors. It describes color as a mixture of red, green, and blue light intensities that a screen emits. #d4a853 means: emit 83% of max red, 66% of max green, 33% of max blue.

This is useful for reproducing colors consistently across screens. But it has a critical limitation for perceptual work: equal numerical distances in sRGB don't correspond to equal perceived differences. Two colors that are 10 units apart in sRGB might look dramatically different or nearly identical to a human eye, depending on where in the color space they sit.

Blues and purples are especially problematic. A small numerical shift in that region produces a large perceived change. Yellows and greens are the opposite — you can move them considerably in sRGB and the difference is subtle.

How CIELAB fixes this

CIELAB (also written L*a*b*) was developed by the International Commission on Illumination in 1976 specifically to be perceptually uniform. The three axes are:

  • L* — lightness, from 0 (black) to 100 (white)
  • a* — position on the green–red axis
  • b* — position on the blue–yellow axis

The key property: the Euclidean distance between two colors in CIELAB space — called Delta E (ΔE) — directly corresponds to how different a human would perceive those colors. A ΔE of 1 is roughly the smallest difference a trained observer can detect. A ΔE above 5 is a clearly visible difference to most people.

This is the standard used in color-critical industries — print, textile, automotive paint, medical imaging — where perceptual accuracy matters more than device compatibility.

Why this matters for brand color analysis

When uvoo analyzes your brand's color palette, it works in CIELAB rather than sRGB for two reasons:

1. Detecting real consistency vs. technical match

Two images can have technically similar sRGB histograms but look completely tonally different. Conversely, images with different hex values can feel visually cohesive because they share the same CIELAB neighborhood. Analyzing your assets in CIELAB tells you whether your palette is actually consistent in the way a human eye experiences it — not just whether the numbers match.

2. Generating precise, reliable color instructions

When we translate your brand palette into prompt instructions, CIELAB values give AI models much more actionable information than hex codes. Recent research shows that diffusion models guided by CIELAB targets produce more perceptually accurate color outputs — because the model can minimize ΔE against the target rather than matching arbitrary device-space numbers.

In practice, this means your warm #f5f0e8 gets translated to L*95 a*1 b*5 — "very light, slightly warm, barely yellow." Combined with composition and lighting instructions, this gives the model enough information to consistently produce images that feel right, not just match a hexadecimal string.

The practical upshot

If your brand's color feels inconsistent in AI output even when you're specifying hex values, you're experiencing the sRGB perceptual problem. The fix is analyzing your assets in CIELAB to understand your palette's perceptual territory, and specifying color targets in those terms.

Brand color isn't a hex code. It's a region of perceptual space that your visual identity occupies. The tools that generate consistently on-brand results are the ones that understand this distinction.