Skip to content
Devix Open Source

A palette, in OKLCH

Pick one colour and read a whole ramp off it — the thing OKLCH is for, and the thing no other picker will do for you.

Live preview
<div class="demo demo--wide">
  <div class="demo-split">
    <div>
      <label class="demo-label" for="seed">Seed colour</label>
      <input id="seed" name="seed" value="#8338ec">
    </div>
    <div class="ramp" id="ramp"></div>
  </div>
  <p class="demo-hint">Each step keeps the hue and chroma and moves only the lightness, so every shade looks
    like the same colour — in HSL it would not. Where sRGB cannot show that much chroma, the step says
    how much had to come off instead of clipping it behind your back.</p>
</div>