Skip to the color picker

HSLA to XYZ D65 converter

Paste a HSLA value, get XYZ D65 instantly. Any other format works too.

Read as HSL

XYZ D65 valuecolor(xyz-d65 0.45245 0.2832 0.06216 / 0.8)
XYZ D65 to HSLA

Same color without transparency, as solid XYZ D65

Adjust the color

11°
80%

68%
0.210
34°

Every other format

Opacity chart: HEX alpha and HSLA

In 8-digit HEX the last two digits set opacity: FF is fully opaque, 80 is about 50%, 00 is fully transparent. The table shows the example color at every 5% step.

OpacityHEX alphaHEXHSLA
100%ff#ff5733hsla(10.59, 100%, 60%, 1)
95%f2#ff5733f2hsla(10.59, 100%, 60%, 0.95)
90%e6#ff5733e6hsla(10.59, 100%, 60%, 0.9)
85%d9#ff5733d9hsla(10.59, 100%, 60%, 0.85)
80%cc#ff5733cchsla(10.59, 100%, 60%, 0.8)
75%bf#ff5733bfhsla(10.59, 100%, 60%, 0.75)
70%b3#ff5733b3hsla(10.59, 100%, 60%, 0.7)
65%a6#ff5733a6hsla(10.59, 100%, 60%, 0.65)
60%99#ff573399hsla(10.59, 100%, 60%, 0.6)
55%8c#ff57338chsla(10.59, 100%, 60%, 0.55)
50%80#ff573380hsla(10.59, 100%, 60%, 0.5)
45%73#ff573373hsla(10.59, 100%, 60%, 0.45)
40%66#ff573366hsla(10.59, 100%, 60%, 0.4)
35%59#ff573359hsla(10.59, 100%, 60%, 0.35)
30%4d#ff57334dhsla(10.59, 100%, 60%, 0.3)
25%40#ff573340hsla(10.59, 100%, 60%, 0.25)
20%33#ff573333hsla(10.59, 100%, 60%, 0.2)
15%26#ff573326hsla(10.59, 100%, 60%, 0.15)
10%1a#ff57331ahsla(10.59, 100%, 60%, 0.1)
5%0d#ff57330dhsla(10.59, 100%, 60%, 0.05)
0%00#ff573300hsla(10.59, 100%, 60%, 0)

HSLA to XYZ D65 examples

ColorHSLAXYZ D65
hsla(0, 100%, 50%, 1)color(xyz-d65 0.41239 0.21264 0.01933)
hsla(120, 100%, 50%, 1)color(xyz-d65 0.35758 0.71517 0.11919)
hsla(240, 100%, 50%, 1)color(xyz-d65 0.18048 0.07219 0.95053)
hsla(0, 0%, 100%, 1)color(xyz-d65 0.95046 1 1.08906)
hsla(0, 0%, 0%, 1)color(xyz-d65 0 0 0)
hsla(0, 0%, 50.2%, 1)color(xyz-d65 0.20517 0.21586 0.23508)
hsla(10.59, 100%, 60%, 1)color(xyz-d65 0.45245 0.28319 0.06216)
hsla(217.22, 91.22%, 59.8%, 1)color(xyz-d65 0.26419 0.23548 0.90345)
hsla(160.12, 84.08%, 39.41%, 1)color(xyz-d65 0.21524 0.36391 0.26659)
hsla(37.69, 92.13%, 50.2%, 1)color(xyz-d65 0.49942 0.43893 0.06159)
hsla(258.31, 89.53%, 66.27%, 1)color(xyz-d65 0.31107 0.19797 0.89374)
hsla(330.37, 81.19%, 60.39%, 1)color(xyz-d65 0.42658 0.2477 0.32673)

About HSLA and XYZ D65

HSLA is HSL plus an alpha channel for opacity, written as hsla(11, 100%, 60%, 0.5). Alpha goes from 0 (fully transparent) to 1 (fully opaque), and modern CSS also accepts it inside hsl().

CIE XYZ is the reference space every other space is defined from. Converters use it as the common ground between formats.

How the conversion works

We read the HSLA value, convert it to CIE XYZ with the matrices from the CSS Color 4 specification and then into XYZ D65. Values outside the target gamut are mapped by the CSS Color 4 algorithm, which keeps lightness and hue and reduces chroma.

Questions and answers

How do I convert HSLA to XYZ D65?

Paste or type a HSLA value into the field above. PickShade converts it with the CSS Color 4 formulas as you type, and one click copies the XYZ D65 value.

Is the HSLA to XYZ D65 conversion exact?

The math is exact and the result is rounded only for display, with enough digits to convert back to the same color. If the color does not fit the target gamut, PickShade warns you and shows the nearest color that fits.

Can I get other formats at the same time?

Yes. Every other format, including OKLCH, Display P3, Tailwind, SwiftUI, Flutter and Android, is listed below the result and copies with one click.

Is this converter free?

Yes. It is free, needs no sign-up and runs entirely in your browser.