Color palette generator
Create beautiful color palettes in seconds, or start from your brand color and build a theme around it.
- #243224darkslategray
- #C62DD8mediumorchid
- #F6FAF3floralwhite
- #872B8Ddarkmagenta
- #9DCB7Ddarkseagreen
Your palette as a theme
| RolesPick another color for any role. | Light | Dark |
|---|---|---|
| Primary | Primary color | #E456F6 |
| Accent | Accent color | #9DCB7D |
| Background | Background color | #081509 |
| Surface | Surface color | #122112 |
| Border | Border color | #283828 |
| Text | Text color | #F6FAF3 |
| Muted text | Muted text color | #848781 |
| Text contrastAA asks for 4.5 to 1. | Light: 4 of 6 pass | Dark: 6 of 6 pass |
|---|---|---|
| Text on background | 12.77Passes AA | 17.73Passes AA |
| Text on surface | 11.52Passes AA | 15.88Passes AA |
| Muted on background | 5.13Passes AA | 5.14Passes AA |
| Muted on surface | 4.62Passes AA | 4.60Passes AA |
| Button text | 4.50Fails AA | 6.56Passes AA |
| Links | 4.17Fails AA | 6.21Passes AA |
Free and open source
Turn your theme intopages, ads and prototypes.
Agent-Native Design builds each one in your colors, with readable text on every background.
How to make a color palette
Generate
Press the spacebar for a new palette, or start from a color you already have.
Lock what you like
Lock the colors you want to keep, then press the spacebar again to replace the rest.
Fine-tune
Edit any color or pick one of its shades, and drag the columns to change the order.
Check the theme
See the palette on a sample page, in light and dark mode.
Export
Copy the palette or the theme for your design tool or your code.
What makes a good color palette
A good palette has a clear main color, one or two supporting colors, and neutrals for backgrounds and text. Most interfaces need only three to five colors plus their lighter and darker shades. The pictures below use the palette you made above.
One color leads
Most of the screen is neutral. Save the main color for buttons and links, so people can see where to click.
Light and dark
Lightness matters as much as hue. When every color has a similar lightness, the palette looks flat, so include at least one light and one dark color.
Text people can read
Text needs a contrast of at least 4.5 to 1 with its background. The marks above show which of your colors pass as text on a light background.
Types of color schemes
Pick a scheme to generate a palette with it. The color wheel shows how each one is built.
More free color tools
FAQs
Color palette questions
A set of colors chosen to work together in a design, brand or artwork. In web and app design, a palette has a main color, an accent, and neutrals for backgrounds, surfaces and text.
Start from a color you already use, such as your logo color. Type it in the brand color field above the palette, and the generator locks it and builds the rest around it. Then press the spacebar until you like the other colors.
Yes. Copy any text with color codes in it, such as CSS, a list of hex codes or a palette link, and paste it anywhere on the page. The generator fills the columns with the colors it finds, up to 10.
Palette. A pallet is a wooden platform for shipping goods. A palette is a set of colors, named after the board painters mix paint on.
People usually mean the 60-30-10 rule: one color covers about 60% of a design, a second covers 30%, and an accent takes the last 10%. The One color leads picture on this page shows your own palette in that split.
Three to five for most websites and apps, plus lighter and darker shades of each. Brands with several products often need more, and keep each color as a scale of shades.
Yes. Export the palette as CSS variables, a Tailwind @theme block or design tokens. Export the theme as CSS variables, Tailwind or shadcn/ui variables, with both light and dark mode.
Yes. Generating, editing and exporting are free and need no account.