01 / Analogous
Calm
Neighbouring hues from light to dark. Easy on the eye, good for brands and backgrounds.
Free tool
Each press of the space bar makes a new palette. Lock the colours you like and the others change around them, in harmony with your locked colour. Type, pick or choose a shade for any colour, see the palette on a sample page, check every text pair for contrast, and see it as people with colour blindness do. Save palettes in your browser, and export CSS, Tailwind, JSON, PNG, SVG or an Adobe ASE file. Up to 10 colours, no account.
Need a custom tool, app or website? Contact us →Space new colours Z undo Y redo S save. Click a code to copy it. Paste HEX codes to use them. Drag the dotted handle to move a colour.
Shades and tints
Click a step to use it. A colour you change is locked, so new palettes are built around it.
Each row is a background, each column a text colour. AA needs 4.5 for normal text and 3 for large text; AAA needs 7.
Save
Code
Colours are made in your browser. The palette lives in the page address, and palettes you save stay in this browser. Nothing is uploaded.
Harmonies
01 / Analogous
Neighbouring hues from light to dark. Easy on the eye, good for brands and backgrounds.
02 / Complementary
Opposite hues. One for the main colour, the other for buttons and highlights.
03 / One hue
One colour from dark to light, for interfaces and charts that need steps.
04 / Pastel
Light, gentle colours for illustrations, slides and social posts.
Guide
A color palette generator gives you a set of colours that look good together, ready to copy into a design, a website or a slide. This one makes a new palette every time you press Space. Lock the colours you like and the rest change around them, in the same harmony as your locked colour. Each colour shows its codes, a name and how readable white or black text is on it.
Each harmony is a rule for how far apart the hues sit and how light and strong the colours are. Choose one based on what the palette is for.
| Harmony | What you get | Good for |
|---|---|---|
| Mixed | A different rule each time: neighbours, opposites, split, three apart, one hue or a free mix | Exploring when you have no plan yet |
| Analogous | Neighbouring hues, running from dark to light | Brands, backgrounds, calm layouts |
| Complementary | Two opposite hues, taking turns from dark to light | A main colour plus an accent for buttons |
| Split complementary | One hue and the two hues either side of its opposite | Contrast that is softer than straight opposites |
| Triadic | Three hues spaced evenly round the colour wheel | Playful designs, kids' content, charts with three groups |
| One hue | One colour from very dark to very light | Interfaces, charts that show steps, text and background pairs |
| Pastel | Very light, soft colours | Illustrations, invitations, social posts |
| Vivid | Strong colours, spread around the wheel | Posters, thumbnails, attention grabbing graphics |
| Earthy | Muted browns, olives and warm yellows | Food, outdoors, craft and natural products |
Under the hood the colours are picked in OKLCH, a colour model where the same step in lightness looks like the same step to your eye. That is why a One hue palette climbs evenly from dark to light, and why the shades of a colour step evenly from 50 to 950. When a colour is locked, the harmony is turned so it starts from that colour's hue, which is how a brand colour gets real neighbours or a real opposite.
Under each code you see two numbers, one for white text and one for black. They are contrast ratios from the WCAG accessibility guidelines, which run from 1 (no difference at all) to 21 (black on white). A number of 4.5 or higher gets the word OK, because 4.5 is the level WCAG AA asks for with normal sized text. Large text needs 3. The numbers are rounded down, so a pair that shows 4.5 really passes.
Here is a worked example. The grey #767676 has a relative brightness of about 0.181 on a scale from 0 to 1. Its contrast with white is (1 plus 0.05) divided by (0.181 plus 0.05), which is 4.54. Its contrast with black is (0.181 plus 0.05) divided by (0 plus 0.05), which is 4.62. So that grey just passes with both white and black text.
The Text contrast tab checks every pair in the palette. Each row is a background and each column a text colour, with the ratio and a label: AAA from 7, AA from 4.5, Large from 3, and Fail below that.
On a page puts the palette on a sample website: the lightest colour is the background, the darkest the text, and the two strongest the button and the accent. Dark swaps background and text, and Swap the main colours tries another colour on the button.
See it as shows the palette, the sample page and the grid as people with red-blind, green-blind or blue-blind vision, or no colour vision, would see them. It uses the same simulation as the color blindness simulator. If two colours you rely on to tell things apart, like chart lines, look the same in a view, change one of them. Codes and exports always keep the real colours.
Give each colour a job. A common rule of thumb is 60-30-10: one colour covers most of the space, a second about a third, and a third is kept for accents such as buttons and links. Use the lightest or darkest colour for the background and the one with the highest contrast against it for text.
:root block with --color-1, --color-2 and so on in the order you see them, each with its colour name as a comment. CSS variables, OKLCH gives the same in oklch(), and SCSS gives $color-1 style variables.@theme block with --color-palette-1 and so on, which Tailwind's theme variables turn into classes such as bg-palette-1 (checked 17 Oct 2026). Tailwind v3 gives a palette group for the config file, numbered 100, 200, 300 by position.Press S or click Save to keep the palette you see. It appears under Saved, where a click opens it again with its colours locked. They stay in this browser, with no account, and are lost if you clear its site data, so copy the link of any palette you cannot lose. The page also remembers your harmony, colour count, view and code format.
To grab a colour you can see on screen, open Digital Color Meter from the Utilities folder in Applications, read the values under the pointer, then click the pencil on a colour here and type them.
To pull a palette out of a photo instead, use the image color picker. To test a pair at any text size, try the color contrast checker, and for a gradient from your colours, the CSS gradient generator.
Questions
In OKLCH, a way of describing colour by lightness, strength and hue where equal steps look equally different to the eye. That keeps light and dark steps even and stops yellows and blues from looking much brighter or darker than intended. Colours a screen cannot show are pulled back into range.
Yes. Click the pencil on a colour and type your brand colour's HEX code, or paste the code anywhere on the page. It is locked, and when you press Space the other colours are built in harmony with it.
Yes, with the image color picker, which finds the main colours in a picture.
How readable text is on that colour, from 1 (none) to 21 (black on white). The WCAG guidelines ask for at least 4.5 for normal text and 3 for large text.
Press S or click Save, and the palette appears under Saved in this browser. To share it, or keep it on another device, copy the link: the colours are in the page address, locks included.
Three to five covers most websites, brands and slides: a background, a text colour, a main colour and one or two accents. Set the Colours menu to the number you need before you start pressing Space.
Yes. Colours and their codes are not owned by anyone, and nothing here asks you to credit the tool.
They are three ways of writing the same colour. HEX is a short code for the web, RGB gives the red, green and blue amounts from 0 to 255, and HSL gives hue, saturation and lightness, which is easier to adjust by hand.
From 3 to 10, with no account and no limit on how many palettes you make or save.
Yes. Pick a view under See it as, such as green-blind, and the palette, the sample page and the contrast grid change to show it that way. If two colours that must look different become alike, change one of them.
Each colour gets the nearest name from the list of colour names that web browsers know, such as Steel blue or Tomato, and near-greys are named by how light they are. The name is a guide for talking about the colour; the code is the exact colour.
Locks always win. Changing the harmony or the number of colours only replaces the colours without a lock. Click the lock again if you want that colour to change too.