BASE

OKLCH Color Picker

OKLCH Color Picker

Tool · Free

A color picker and converter between HEX/RGB/HSL and OKLCH with color-space visualization. Shows wide color gamuts and the nearest sRGB fallback.

Resource illustration: OKLCH Color Picker

Open resource ↗

What you can use for free

The browser tool is free; MIT source code is available for local use.

Access and limitations

The browser tool is free; MIT source code is available for local use. P3/Rec2020 display depends on the browser and screen; this does not guarantee identical color on every device.

Use cases

  • Build a design-system palette in OKLCH
  • Choose a fallback for a P3 color

Example workflow

A possible workflow; this is not a report of hands-on testing.

Example workflow with OKLCH Color Picker: Build a design-system palette in OKLCH.

Before you start

  • Original brand colors and palette roles: text, surface, and accent.
  • Target browsers and color combinations in the actual interface.

Steps

  1. Convert the original colors to OKLCH and adjust lightness and chroma for each role.
  2. Check the color gamut and the available sRGB fallback.
  3. Apply the palette to the design and compare text and state contrast.

Check your result

  • The palette preserves meaning and readability in actual combinations.
  • The fallback does not silently change important distinctions; check contrast separately.

Choosing OKLCH Color Picker

Build a design-system palette in OKLCH

Choose this when

  • Build a design-system palette in OKLCH
  • Choose a fallback for a P3 color

Requirements

  • Check the selected color in the target browser, on the required display, and paired with the text color.

Things to consider

  • Access terms: The browser tool is free; MIT source code is available for local use. P3/Rec2020 display depends on the browser and screen; this does not guarantee identical color on every device.
  • Terms of use: MIT; retain copyright/license notices.
  • A wide gamut and convenient shade selection do not guarantee text contrast or identical appearance on every display.

Frequently asked questions

What can you use for free in OKLCH Color Picker?

The browser tool is free; MIT source code is available for local use.

What are the access terms for OKLCH Color Picker?

The browser tool is free; MIT source code is available for local use. P3/Rec2020 display depends on the browser and screen; this does not guarantee identical color on every device.

What terms of use matter for OKLCH Color Picker?

MIT; retain copyright/license notices.

How do you get started with OKLCH Color Picker?

Convert the original colors to OKLCH and adjust lightness and chroma for each role. Check the color gamut and the available sRGB fallback. Apply the palette to the design and compare text and state contrast.

Why must a color outside sRGB be checked in the target interface?

The tool works with OKLCH and shows wider P3 and Rec.2020 spaces. Assess the selected color in the browser and on the target display; choose a suitable color for a limited sRGB workflow. Selecting coordinates alone does not check text accessibility.

License

MIT; retain copyright/license notices.

MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.

License terms

Technologies and topics

  • OKLCH
  • sRGB

Sources

Other resources