About this tool
Start from one brand color and pick a harmony such as complementary, triadic or analogous. Each resulting color gets an eleven-step scale from very light to very dark, calculated in OKLCH so the steps look evenly spaced. Export the whole set as CSS variables, Tailwind v4 theme tokens, SCSS or JSON.
How to use Color Palette Generator
- Enter your base color.
- Choose a harmony.
- Click any shade to use it as the new base if you like.
- Pick an export format and copy the code.
Frequently asked questions
Why OKLCH instead of HSL for the shades?
HSL lightness does not match how bright colors look, so yellow and blue scales end up uneven. OKLCH is designed around perceived lightness, giving more consistent steps.
Some colors look less saturated than I set. Why?
Very vivid colors may not exist in the sRGB range screens can show at every lightness. The tool reduces chroma just enough to keep each shade displayable.