Lightness
Represents the perceived lightness of a color. CSS commonly writes this value as a percentage.
65%
Enter an oklch() value or drag the L, C and H sliders and get the HSL equivalent — with HEX, RGB, sRGB gamut info, contrast ratios and a live preview.
Input OKLCH
Accepts oklch(L C H), oklch(L% C H), or bare channels like 0.53 0.21 293.
Manual OKLCH sliders
HSL is not perceptually uniform, so small L changes near the extremes can look much larger once converted.
Harmonies
Live preview
Text on white, muted text, and a button using your color as its background.
Channel values
Contrast checks (WCAG 2, 4.5:1)
Convert OKLCH colors into HSL values for CSS, web design, interface development, color systems, and compatibility workflows. Explore how perceptual OKLCH coordinates translate into the familiar Hue, Saturation, and Lightness model.
An OKLCH to HSL Converter transforms a color from the OKLCH color space into HSL coordinates. Because OKLCH and HSL use different mathematical models, the conversion requires color-space transformations rather than simply moving the three numbers into another order.
OKLCH and HSL are both useful ways to describe colors, but they were designed with different goals. OKLCH is based on the OKLab color model and uses Lightness, Chroma, and Hue. HSL describes colors using Hue, Saturation, and Lightness.
If you are working with a modern color palette in OKLCH but need an HSL value for an older stylesheet, design tool, application, or development workflow, an OKLCH to HSL Converter provides the bridge between these representations.
The important point is that HSL saturation is not the same thing as OKLCH chroma. A conversion must first establish the corresponding RGB color and then derive the HSL coordinates from that RGB representation.
OKLCH is a cylindrical representation of OKLab. It describes colors using three components: lightness, chroma, and hue. This structure makes it convenient to reason about perceived lightness and colorfulness when creating modern palettes.
Represents the perceived lightness of a color. CSS commonly writes this value as a percentage.
65%
Represents colorfulness. It is different from HSL saturation and should not be converted by simply renaming the value.
0.18
Represents the hue angle around the color wheel and is normally expressed in degrees.
250deg
HSL stands for Hue, Saturation, and Lightness. It is one of the most recognizable color models in CSS and is widely used for specifying colors in websites and user interfaces.
hsl(250 70% 60%)
OKLCH chroma and HSL saturation have different meanings and scales.
For example, a value such as 0.20 in OKLCH cannot simply
become 20% saturation in HSL.
OKLCH is designed around the OKLab color space, while HSL is derived from RGB. Therefore, the correct conversion needs to establish the equivalent RGB color before calculating the HSL coordinates.
A technically correct conversion follows a multi-stage path. The exact implementation can also need gamut handling when the source OKLCH color cannot be represented directly in the target RGB gamut.
| Property | OKLCH | HSL |
|---|---|---|
| Basis | OKLab | RGB-derived |
| Components | Lightness, Chroma, Hue | Hue, Saturation, Lightness |
| Lightness | Perceptual-oriented | HSL lightness |
| Colorfulness | Chroma | Saturation |
| CSS Function | oklch() |
hsl() |
| Modern Design Systems | Very useful | Useful for compatibility |
Some older projects and codebases use HSL extensively. Converting modern OKLCH colors gives those projects compatible values.
Certain design applications and color workflows may expose HSL more prominently than newer perceptual formats.
Existing theme variables may be built around HSL values and require compatible color coordinates.
Teams can translate modern color decisions into formats familiar to developers working on established projects.
Comparing the same color in OKLCH and HSL helps explain how different color models represent color.
HSL can be useful when maintaining stylesheets that already use the traditional CSS color function.
Once an OKLCH color has been converted to HSL, the resulting value can
be used with the CSS hsl() function.
.button {
background: hsl(250 70% 60%);
color: hsl(0 0% 100%);
}
.card {
border-color: hsl(250 35% 88%);
}
The values shown above are illustrative HSL syntax. For production use, generate the HSL value from the exact OKLCH source color rather than copying an unrelated example.
Modern CSS allows authors to use newer color functions such as
oklch() alongside traditional functions such as
hsl(). This makes it possible to use modern color workflows
while maintaining compatibility strategies where needed.
.brand {
color: oklch(62% 0.20 265);
}
.brand {
color: hsl(...);
}
OKLCH can describe colors that are outside the gamut of sRGB. Traditional HSL values are derived from RGB, so an out-of-gamut OKLCH color cannot always be represented directly as an equivalent sRGB color.
A conversion workflow may therefore need gamut mapping. The resulting HSL value describes the mapped RGB color rather than necessarily reproducing the original out-of-gamut OKLCH coordinates exactly.
Conversion accuracy depends on the implementation, numerical precision, color-space matrices, transfer functions, and how out-of-gamut colors are handled.
Read OKLCH lightness, chroma, hue, and optional alpha correctly.
Apply the correct OKLab and XYZ transformations.
Convert into the RGB space from which conventional HSL is derived.
Deal appropriately with colors outside the destination gamut.
Provide a valid OKLCH color containing lightness, chroma, and hue.
Transform the cylindrical OKLCH coordinates into OKLab's Cartesian representation.
Transform the color through the required intermediate color spaces into the target RGB representation.
Derive hue, saturation, and lightness from the resulting RGB values.
Check the converted color visually and consider gamut and accessibility requirements.
Color conversion does not automatically make a color combination accessible. After converting a color, test it against the actual foreground and background colors used in your interface.
For practical accessibility testing, use our Color Contrast Checker or APCA Contrast Checker.
For official accessibility guidance, see the W3C Web Accessibility Initiative .
OKLCH chroma is not equivalent to HSL saturation.
Highly saturated OKLCH colors may fall outside sRGB.
Avoid excessive rounding during intermediate calculations.
A numeric conversion does not replace browser and interface testing.
Evaluate text and background combinations separately.
Retain the original OKLCH value when it is the preferred design source.
For authoritative information about modern CSS color functions and color spaces, explore these technical references:
An OKLCH to HSL Converter transforms colors from the OKLCH color space into HSL coordinates for web development, CSS, design, compatibility, and color analysis.
OKLCH is converted through the appropriate color-space transformations into RGB and HSL coordinates. The three OKLCH values should not simply be renamed as HSL values.
L represents lightness, C represents chroma, and H represents hue.
H represents hue, S represents saturation, and L represents lightness.
No. OKLCH chroma and HSL saturation are different concepts with different mathematical definitions and scales.
Yes. HSL is a standard CSS color function and can be written using the hsl() syntax.
A valid OKLCH color can be processed through color conversion, but colors outside the target RGB gamut may require gamut mapping before an HSL representation can be produced.
OKLCH and HSL use different color models, and an out-of-gamut source color may also require mapping into sRGB before HSL values are derived.
They serve different purposes. OKLCH is useful for modern perceptual color workflows, while HSL remains familiar and useful across many CSS and design workflows.
Conversion can be useful for legacy CSS projects, design systems, applications, tools, and workflows that expect HSL values.
Accurate conversion is possible when the color-space mathematics, numerical precision, RGB conversion, and gamut handling are implemented correctly.
A browser-based OKLCH to HSL converter can provide color conversion online without requiring desktop color software.
Translate modern OKLCH color values into familiar HSL coordinates for websites, CSS, design systems, and development workflows.
Use OKLCH to HSL Converter