HSL to XYZ Converter

Enter HSL values and instantly get the equivalent CIE XYZ tristimulus values with intermediate sRGB and a live color swatch.

HSL Input

0 – 360
0 – 100
0 – 100

CIE XYZ Output

hsl(210, 75%, 50%)
Red-like
0 – 0.9505
Luminance
0 – 1.0000
Blue-like
0 – 1.0890

Intermediate Linear sRGB (0 – 1)

sRGB gamma-expanded to linear light; multiplied by IEC 61966-2-1 D65 matrix.

Copied!

Summary

Enter HSL values and instantly get the equivalent CIE XYZ tristimulus values with intermediate sRGB and a live color swatch.

How it works

  1. Enter Hue (0–360°), Saturation (0–100%), and Lightness (0–100%) or use the color picker.
  2. The tool converts HSL to sRGB (0–255) and displays the normalized linear RGB channels.
  3. Each linear sRGB channel is multiplied by the IEC 61966-2-1 matrix to produce X, Y, Z.
  4. The resulting CIE XYZ tristimulus values are shown with 4-decimal precision.
  5. Click any copy icon or the main button to copy individual values or the CSS color() string.

Use cases

Frequently Asked Questions

Related tools

Last updated: 2026-05-28 · Reviewed by Nham Vu