Delta E

Compare two colors in Lab distance.

Use this tool

Result

The result appears in this panel after you run the tool.

About this tool

CIE76 is the Euclidean distance in Lab. It is not CIEDE2000.

A small number means the colors are close in that formula, not that every viewer will agree.

How to use it

  1. Open this page and provide the input it asks for.
  2. Set the options that are visible, then use Compare colors.
  3. Read the result in the panel. Copy it or download it when a file is offered. The input stays in this browser.

Limitations

CIE76, Euclidean distance in Lab

The path from hex to Lab

Both fields are hex. Each triple is linearized with the sRGB transfer. Divide a channel by 255 first. At 0.04045 or under, divide that quotient by 12.92. Above the breakpoint, add 0.055, divide by 1.055, and raise the result to 2.4. Linear red, green, and blue become XYZ with the rounded sRGB matrix. X uses 0.4124, 0.3576, and 0.1805. Y uses 0.2126, 0.7152, and 0.0722. Z uses 0.0193, 0.1192, and 0.9505. X is then divided by 0.95047 and Z by 1.08883, the D65 white point this function uses. Y is already scaled so that white lands on 1.

Each of X, Y, and Z then passes the Lab pivot. A value above 0.008856 is replaced by its cube root. A smaller value uses 7.787 times the value plus 16/116. L is 116 times the pivoted Y, minus 16. a is 500 times pivoted X minus pivoted Y. b is 200 times pivoted Y minus pivoted Z. Delta E is the Euclidean length of the Lab difference: add the three squared component gaps, then take the root. That definition is CIE76. The page does not run CIE94, and it does not run CIEDE2000. White against black is 100.00 under this path.

How to read the two decimal places

The figure is printed with two decimal places, under a label that names CIE76, with a warning that a Lab distance is not a guarantee about perception. A small number means the triples are close in this formula. It does not mean every observer will call the swatches identical, and a number under 1 is not a certification. The swatches are the two hex colors you entered, shown without further adjustment. Display calibration is not folded into XYZ. A profiled monitor can separate colors that this D65, sRGB-referenced Lab calls close. Print conditions are not modeled. There is no illuminant menu and no paper white other than the D65 divisor baked into the function.

Use the contrast page when the question is WCAG text. A low delta E can still fail contrast, and a high delta E can pass, because contrast uses luminance only and this distance also uses the a and b axes. The two tools answer different questions. Paste hex, not a CSS color name. Names are not resolved here.

Privacy

Your input is processed in your browser and is not uploaded to UtilChain. File names, text, and results are not sent to analytics.