Palette Generator
Generate color palettes from a base color using harmony modes
Generate color palettes from a base color using harmony modes
:root {
--color-1: oklch(70.4% 0.123 182.5);
--color-2: oklch(70.4% 0.123 2.5);
}Color harmony rules use geometric relationships on the color wheel to build palettes that feel balanced out of the box. All of them start from a base hue and rotate it by fixed angles, so the resulting colors share a predictable relationship no matter which starting color you pick.
Hue rotations done in HSL give uneven results — a 30° step in the blues looks much smaller than a 30° step in the greens. OKLCH is a perceptually uniform color space, so a 30° rotation looks like the same distance everywhere on the wheel. We rotate the hue in OKLCH, then convert back to sRGB for display. The OKLCH output is the most accurate; HEX and HSL are provided for compatibility with tooling that doesn't speak modern CSS color yet.