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
Luminance
Blue-like
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
- Enter Hue (0–360°), Saturation (0–100%), and Lightness (0–100%) or use the color picker.
- The tool converts HSL to sRGB (0–255) and displays the normalized linear RGB channels.
- Each linear sRGB channel is multiplied by the IEC 61966-2-1 matrix to produce X, Y, Z.
- The resulting CIE XYZ tristimulus values are shown with 4-decimal precision.
- Click any copy icon or the main button to copy individual values or the CSS color() string.
Use cases
- Prepare color values for ICC profile work or color science pipelines.
- Convert design-tool HSL colors to CIE XYZ as a stepping stone to L*a*b* or L*u*v*.
- Verify camera white-balance matrices by checking expected XYZ tristimulus values.
- Feed X, Y, Z values into colorimetric calculations such as chromatic adaptation transforms.
- Cross-reference CSS HSL values with XYZ for print or textile color matching.
- Build custom tone-mapping workflows that operate in CIE XYZ space.
Frequently Asked Questions
Related tools
Last updated: 2026-05-28 ·
Reviewed by Nham Vu