ColorToolkits
Format Converter

Hex to CIE LAB Converter

Convert CSS HEX colors into perceptual CIE LAB (L*a*b*) coordinates via D65 XYZ transformation.

Converted (CIE LAB)
lab(67.1% -42.9 -2.3)
#14B8A6
Try presets:

How to Use This Tool

  1. Enter or paste your HEX value or choose one of the curated preset swatches.
  2. Copy the formatted CIE LAB value directly, or inspect the secondary HEX, RGB, HSL, and OKLCH chips below.
  3. Click into Tailwind Scale Generator or Contrast Checker to validate accessibility on the converted shade.

Key Features

  • Bidirectional parsing supporting CSS Color Level 4 syntax cleanly
  • Linear sRGB transforms into CIE XYZ reference white D65 before cube-root nonlinear scaling yields lightness L* (0–100) and green-red a* / blue-yellow b* opponent axes.
  • Instant clipboard feedback with live OKLCH and Display-P3 gamut safety
  • Zero server round-trips—every calculation executes immediately in browser memory

sRGB → XYZ (D65) → Perceptual CIE L*a*b*

Linear sRGB transforms into CIE XYZ reference white D65 before cube-root nonlinear scaling yields lightness L* (0–100) and green-red a* / blue-yellow b* opponent axes.

Reference Snippet (CSS Color 4)

.swatch {
  background: #14b8a6;
  background: lab(68.2% -38.9 -2.5);
}

Frequently Asked Questions

More Color Tools

View all tools →