designwithfocus

HSLA to OKLAB Converter

Convert HSLA color values to OKLAB instantly.

Free No sign-up Runs in your browser
Converted result (OKLAB)
oklab(0.5 -0.1 0)
HEX#1B7E7D
RGBrgb(27, 126, 125)
RGBArgba(27, 126, 125, 1)
HSLhsl(179, 65%, 30%)
HSLAhsla(179, 65%, 30%, 1)
HSVhsv(179, 79%, 50%)
CMYKcmyk(79%, 0%, 1%, 51%)
LABlab(47.9% -27.1 -7)
LCHlch(47.9% 28 194.5)
OKLCHoklch(54% 0.1 193.2)
OKLABoklab(0.5 -0.1 0)
HWBhwb(179 11% 51%)
XYZxyz(11.6, 16.7, 21.9)
Decimal1801853
Tailwindteal-700
Nameteal

How to use HSLA to OKLAB Converter

  1. Type or paste a HSLA value in the input box.
  2. The OKLAB value updates as you type, along with the other formats.
  3. Click Copy next to the format you need, or copy everything as CSS.

How to convert HSLA to OKLAB

Enter a HSLA value above. The tool converts it instantly in your browser, with no upload and no sign-up.

The example below uses the site teal #1B7F80, which converts to oklab(0.54, -0.08, -0.02).

HSLA: hsl(181, 65%, 30%, 1)
OKLAB: oklab(0.54, -0.08, -0.02)

The HSLA to OKLAB formula

A HSLA value describes the same colour as a OKLAB value, only written in a different notation. Converting changes the notation, never the colour itself.

For the example colour #1B7F80, the red channel is 27, green is 127 and blue is 128. Each format below is the same colour written differently.

FormatValue for the example
HEX#1B7F80
RGBrgb(27, 127, 128)
HSLhsl(181, 65%, 30%)
CMYKcmyk(79%, 1%, 0%, 50%)

FAQ

Is HSLA the same colour as OKLAB?

Yes. They describe the same colour in different notation, so converting loses no colour information.

Does this tool upload my colour?

No. The conversion runs entirely in your browser.

Can I convert OKLAB back to HSLA?

Yes. Use the OKLAB to HSLA converter, which is listed in the related converters row.

Why do the numbers round?

Some formats use percentages, so the tool rounds to whole numbers for readability.

Report a problem with this tool