Color Palette Generator
Pick a base color, get classic color-wheel harmonies — complementary, split-complementary, triadic, tetradic, square, analogous, monochromatic.
Hue rotation is done in HSL, which is fast but uneven perceptually. For perceptual palettes try the OKLCH picker.
How to use
- Paste your brand or anchor hex into the base field (or use the color picker).
- Pick the harmony that fits the use case — analogous for calm backgrounds, triadic for vivid contrast.
- Copy individual hex codes or the whole comma-separated list.
About this tool
ShowHide
Drop in a hex colour and get the seven harmonies painters and interface designers actually reach for: complementary (the hue opposite, 180° away), split-complementary (150° and 210°, softer than a straight opposite), triadic (120° apart), tetradic and square (four-colour schemes at 60/180/240° and 90/180/270°), analogous (30° either side, the calm neighbours), and monochromatic, which holds the hue still and steps the lightness instead. The tool also shows your base colour's HSL breakdown, so you can see what it is working from.
Rotating the hue in HSL is what makes these schemes so easy to compute, and it is also their one real weakness: HSL lightness is a geometric coordinate, not a perceptual one. Two colours at the same L can differ enormously in how bright they actually look. Pure yellow and pure blue both sit at L = 50%, yet their relative luminance is 0.928 and 0.072 — a factor of about thirteen. Against a white background the yellow gives a contrast ratio of 1.07:1 and the blue 8.59:1, which is the difference between invisible and comfortably readable.
That gap shows up in ordinary palettes too, not just in extreme cases. Take the default #3b82f6 — HSL 217°, 91%, 60% — and its complement #f6af3b sits at exactly the same saturation and lightness, yet on white one scores 3.68:1 and the other 1.89:1. So a harmony that looks balanced in the swatch strip can quietly fail accessibility the moment it becomes text. Use these palettes to choose hues that belong together, then run any pair you intend to put text on through a contrast checker and adjust the lightness until it passes.
Colour harmony is also a convention rather than a law. The wheel these rules divide is the RGB hue circle, which is not the pigment wheel those same rules were named on — red's opposite is cyan here and green in a paint box. And roughly one man in twelve has a red-green colour vision deficiency, for whom a red/green complementary pair carries no contrast at all. If a distinction matters, carry it with lightness, shape or a label as well as with hue.
Frequently asked questions
Which harmony is safest for a chart palette?
Triadic or split-complementary — three or so well-spaced hues that stay distinguishable for most viewers. Avoid pure complementary (only two colors) for anything beyond an accent pair.
Why does monochromatic give five colors?
Monochromatic is a lightness scale, not a hue rotation. Five steps (−30%, −15%, base, +15%, +30%) is the common compromise — enough variation without losing the base color.
The generated colours are the right hues but look flat next to each other. What now?
A harmony rotates hue and keeps saturation and lightness, so every swatch carries the same weight and nothing leads the eye. A palette usually needs contrast in lightness as well as difference in hue: darken one, lighten another, and keep the base as the accent. That is also what turns a harmony into something usable for text and backgrounds rather than only for shapes.
Will these pass an accessibility contrast check?
Not by construction. Hue relationships say nothing about contrast, which compares relative luminance, so two harmonious colours can be almost identical in brightness and fail against each other as text and background. Treat a harmony as a starting set and check any pair you intend to stack with a contrast tool.
Guides on this topic
- Colour Contrast and Accessible PalettesWhat the WCAG contrast ratios actually measure, why a colour that looks fine can still fail, how colour blindness changes the picture, and how to build a palette that holds up.
- HEX, RGB, HSL and OKLCH: Choosing a Colour FormatWhat HEX, RGB, HSL and OKLCH store, why HSL lightness is not perceived lightness, when OKLCH helps, and why screen colour is not print colour.
Related tools
Color Shades & Tints Generator
Generate tints (lighter), shades (darker), and tones (with gray) from any base color — 2 to 20 stops, in HEX, RGB, or HSL.
Color & CSS
Color Palette from Image
Drop an image and the tool extracts a dominant-color palette via Canvas — copy HEX or grab the whole set.
Color & CSS
Tailwind Color Palette
The full Tailwind CSS v4 default palette — 22 hues × 11 shades, 50 through 950 — with click-to-copy as Tailwind class, HEX, or rgb().
Color & CSS
Color Sort
Paste a list of hex colors and sort them by hue, saturation, lightness, or perceived brightness — useful for tidying a design-token palette.
Color & CSS
Conic Gradient Generator
Visual builder for CSS conic-gradient() — rotate angle, center position, color stops, shape preview.
Color & CSS
Color Blindness Simulator
See how your image looks to people with each of 8 types of color vision deficiency (CVD).
Color & CSS