Click any swatch to copy its HEX. Palettes are generated live from your base color.

Tints & shades

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Even scale (OKLCH)

Lightness steps evenly from 50 to 950 at your hue and chroma, so neighbouring steps look equally far apart.

50↓100↓200↓300↓400500600700↓800↓900↓950↓

↓ marks steps where the colour is less vivid than yours: screens can't show that much chroma at that lightness, so it was lowered rather than clipped.

:root {
  --brand-50: #f1f7ff;
  --brand-100: #c7dfff;
  --brand-200: #9cc7ff;
  --brand-300: #6faeff;
  --brand-400: #4894f5;
  --brand-500: #2e7cda;
  --brand-600: #0f64c0;
  --brand-700: #004e9e;
  --brand-800: #003a78;
  --brand-900: #002755;
  --brand-950: #001534;
}

Gradient from a harmony

background: linear-gradient(90deg, #2aced6 0%, #2a78d6 50%, #322ad6 100%);
Fine-tune in CSS Generators →

Color palette generator

Start from any color — type a value, use the picker, or hit random — and the generator builds a tints-and-shades ramp plus five classic harmonies from its hue. Click any swatch to copy its HEX. An even OKLCH scale (50 to 950) can be exported as CSS variables, a Tailwind config, SCSS or JSON design tokens, or saved as a PNG swatch sheet, and any harmony can become a CSS gradient.

The ramp keeps the hue and saturation fixed while stepping lightness from light to dark, which is how design-token scales (50 through 900) are built. The harmonies rotate the hue: complementary (opposite), analogous (neighbors), triadic and tetradic (evenly spaced), and split-complementary.

Looking for something else? See all color tools.

Color Palette Generator — frequently asked questions

How are the harmonies calculated?
Each harmony rotates the base hue by a fixed angle on the color wheel — 180° for complementary, ±30° for analogous, 120° steps for triadic, 90° steps for tetradic — while keeping saturation and lightness, so the set feels cohesive.
What are tints and shades?
Tints are lighter versions of a color and shades are darker ones. The ramp here spans both, giving you a ready-made scale to use as background, border, and text tokens.
What is the OKLCH scale for?
In OKLCH, equal steps in lightness look like equal steps to the eye, so a 50 to 950 scale built there is even, unlike an HSL ramp that bunches up in the middle. Where your hue can't be as vivid as you asked for at a given lightness (a very light or dark yellow, say), the chroma is lowered instead of clipped and the step is marked.
Is anything uploaded to a server?
No. Every conversion runs in your browser with JavaScript — the color values never leave your device, and the tool keeps working offline once the page has loaded.
Is this really free?
Yes — no sign-up, no payment, no watermark.

Spotted a bug or have a suggestion?

Found something broken, have an idea, or just want to say thanks about any of our tools? Every message reaches a real person.