Palette Generator
Build matching color schemes.
Neighbors on the color wheel, calm and natural.
- darkslategray
- cadetblue
- burlywood
- sandybrown
- tomato
Color scale
Eleven steps from 50 to 950 for any swatch. Tap a step to copy it.
Export
:root {
--color-1: #264653;
--color-2: #2a9d8f;
--color-3: #e9c46a;
--color-4: #f4a261;
--color-5: #e76f51;
}Color palette generator
Generate harmonious color palettes in one tap. Lock the colors you like, pick a harmony rule, start from your brand color and export the result as CSS, Tailwind, SCSS or JSON. It works with a keyboard, a mouse or a touch screen.
- Press Space to generate. Hit the space bar on a keyboard or tap Generate on a phone to get a new palette. Keep going until something clicks, and use Undo and Redo to step back through the ones you passed.
- Lock the colors you like. Lock a swatch and it stays put while the rest regenerate around it. New colors are built from the first locked one, so the palette stays related to it.
- Seven harmony rules. Analogous, monochrome, complementary, split complementary, triadic, square and shades. Each rule picks hues by a fixed relationship on the color wheel.
- Start from your brand color. Paste a hex, rgb() or hsl() value and the generator builds a full palette around it, with your color locked as the first swatch.
- From 3 to 8 colors. Add or remove swatches with the stepper. New ones are generated to fit the current rule and the colors you already locked.
- Text contrast on every swatch. Each swatch picks black or white text for itself and shows the contrast ratio and WCAG grade, so you can see which colors will carry readable labels.
- 50 to 950 scale for any color. Pick a swatch and get eleven steps from near-white to near-black, built in OKLCH so the steps look evenly spaced. This is the same shape as the Tailwind color scales.
- Export and share. Copy the palette as CSS variables, a Tailwind v4 theme, SCSS variables or JSON, with or without the full scales. Share copies a link that reopens the exact palette, and PNG saves an image of it.
How each harmony rule picks colors
Every rule is a fixed relationship between hues on the color wheel. Knowing them tells you which one to reach for.
- Analogous. Hues sitting next to each other on the wheel, about 25 degrees apart. Calm and cohesive, good for backgrounds and gradients.
- Monochrome. A single hue with varied saturation and lightness. It is the safest rule for a UI, because nothing can clash.
- Complementary. Two hues opposite each other, such as blue and orange. Strong contrast, best with one color as the base and the other as an accent.
- Split complementary. One hue plus the two on either side of its opposite. It keeps the contrast of complementary but is less harsh.
- Triadic. Three hues spaced 120 degrees apart. Lively and balanced, it works well when one hue leads and the other two support.
- Square. Four hues spaced 90 degrees apart. Rich and varied, so let one color dominate to keep it from feeling busy.
- Shades. Light to dark steps of one color. Use it to build surfaces, borders and text colors that all belong together.
What a generated palette is good for
- Starting a brand or product identity. Generate until a palette feels right, lock its anchor color and tune the rest around it.
- Building a UI color system. Pick a primary, copy its 50 to 950 scale and export it as a Tailwind theme or CSS variables.
- Choosing chart colors. A triadic or square palette gives you distinct series colors, and locked swatches keep your brand color in the mix.
- Illustration and slide decks. Export a PNG strip or a JSON list and drop it straight into your design tool.
- Finding a partner for one color. Lock the color you already have, switch rules, and see which combinations work around it.
Palette generator questions
How does locking work?
A locked swatch keeps its color when you generate again. If any swatch is locked, the first one is used as the starting point for the new colors, so the palette stays related to it.
Which harmony rule should I choose?
Monochrome and analogous are the safest for interfaces. Complementary and triadic give more contrast and personality, and work best when one color dominates.
Can I edit a color by hand?
Yes. Tap the pencil on any swatch to open the color picker. The edited swatch is locked so it will not change when you generate again.
How do I share a palette?
Press Share to copy a link. The colors are stored in the link itself, so opening it shows the same palette, and nothing is uploaded.
What is the 50 to 950 scale?
It is a set of eleven steps from very light to very dark, used by Tailwind and most design systems. 50 is the lightest, 500 is the middle and 950 is the darkest.
What do the AA and AAA labels mean?
They are WCAG contrast grades for the text color shown on that swatch. AA needs a ratio of 4.5 for normal text, and AAA needs 7.