Choose a base color and a harmony mode such as analogous, complementary or triadic, and the tool builds 3 to 9 matching colors. Lock the ones you want to keep, check how readable black or white text is on each, then copy HEX, RGB or HSL values, CSS variables or a Tailwind snippet, or download SVG swatches. Everything runs in your browser.
Runs in your browser
Free, no sign-up. Colors are generated and exported in your browser. Nothing is uploaded; a palette link is created only when you press Create palette link and contains only color codes.
Generate harmonious palettes, inspect WCAG contrast, lock colors, and export code.
Neighboring hues for calm product UI palettes.
:root {
--palette-1: #2563EB;
--palette-2: #27A7E7;
--palette-3: #4E81EF;
--palette-4: #1610D1;
--palette-5: #6E1CF2;
}Nothing is added to the page address until you create a palette link, and you see it before copying.
Base
#2563EB
Color 2
#27A7E7
Color 3
#4E81EF
Color 4
#1610D1
Color 5
#6E1CF2
#2563EB
AAWhite: 5.2:1 · Black: 4.1:1
#27A7E7
AAAWhite: 2.7:1 · Black: 7.8:1
#4E81EF
AAWhite: 3.7:1 · Black: 5.7:1
#1610D1
AAAWhite: 10.3:1 · Black: 2.0:1
#6E1CF2
AAWhite: 6.8:1 · Black: 3.1:1
colors: {
brand: {
100: "#2563EB",
200: "#27A7E7",
300: "#4E81EF",
400: "#1610D1",
500: "#6E1CF2",
},
}We build calculators, converters and processing steps like this one directly into your web or mobile product, with your rules and branding.
Sample data
Base color #7C3AED, mode Analogous, count 5
Palette: #7C3AED, #413EEA, #9865F1, #AC11E8, #F335E7
Best text contrast: all five rate AA (ratios 5.7, 6.77, 5.47, 5.25, 6.47)
:root {
--palette-1: #7C3AED;
...
--palette-5: #F335E7;
}The CSS shows the first and last variables; the export lists all five. The contrast figure is for whichever of black or white text reads better on each swatch.
Harmony modes pick colors by their position on the color wheel (hue). Analogous uses neighbors, complementary uses the opposite hue, split-complementary uses the two hues beside the opposite, triadic spaces three hues evenly, and tetradic uses four.
Monochrome and Shades keep one hue and vary lightness and saturation. Random picks colors without a rule. Use the mode description under the dropdown as a quick reminder.
A locked swatch keeps its exact color when you change the base color, mode or count. Unlocked swatches are regenerated around the locked ones, so you can lock a brand color and explore the rest.
WCAG rates text readability by contrast ratio: at least 4.5 to 1 passes AA for normal text and 7 to 1 passes AAA. The readout shows the ratio of the better of black or white text on each swatch.
This is a guide for text placed on a swatch. It does not audit the colors in your own design, which depend on the actual foreground and background pairs you use.
ratio = (L1 + 0.05) / (L2 + 0.05), L1 the lighter luminance
Copy values as HEX, RGB or HSL for design tools. CSS variables export as --palette-1 through --palette-N inside :root and can be copied or downloaded as palette.css. The Tailwind snippet gives a colors object to paste into your config. SVG swatches download as palette.svg with each color and its HEX label.
A palette link stores only the colors, as hex codes in the address, for example ?p=7C3AED-413EEA-9865F1. It is built only when you press Create palette link, and you see a preview first.
Anyone who opens the link sees those colors with all swatches locked. The link holds no account, image or other data.
Only the hex codes of the colors. It is created only when you press Create palette link, you see a preview of the swatches first, and nothing is sent to a server.
No. The readout shows the contrast of the better of black or white text on each swatch. Check the real text and background pairs in your design separately.
Copy CSS or download palette.css to get --palette-1 and so on as custom properties inside :root. For Tailwind, copy the snippet and paste it into the colors section of your config.
It keeps that exact color when you change the base color, mode or count, so only the unlocked swatches are regenerated around it.
Randomize picks a new random base color (unless the first swatch is locked) and reshuffles the unlocked swatches. Locked swatches stay, and the mode and count do not change.
Yes, as an SVG. Press Download SVG swatches to get palette.svg, which lists each color with its HEX label and opens in browsers and design tools.
We build calculators, converters and processing steps like this one directly into your web or mobile product, with your rules and branding.