Color Palette Generator

Start from one color, an image or a few words, or press Generate for a random scheme. Lock the colors you like, preview them on a sample website, check them for contrast and color blindness, make Tailwind shade scales, and export to CSS, Adobe apps or a share link.

Free, no sign-up, nothing uploaded.

Last updated: October 2026

Start from

Neighbors on the wheel. Harmonious, like a sunset or a forest. Lock colors you like, then generate again around them.

≈ cadetblue

≈ cadetblue

≈ seagreen

≈ steelblue

≈ olivedrab

Analogous around #2A9D8F. The bigger dot is the first color; dots further from the center are more colorful.

Copy as
Download
ShareThe colors are in the link itself; nothing is uploaded.

Exports follow the palette from left to right.

Tailwind shades (50 to 950)

Each color keeps the step closest to its lightness (marked ●); the others follow Tailwind's own curve.

Copy all scales as

With Tailwind 4, paste the @theme block into your main CSS file to get classes like bg-cadetblue-500. With Tailwind 3, merge the colors into theme.extend in tailwind.config.js.

Website preview

Brightside
Sign up
New this week

Plan your week in five minutes

A calm, simple planner for busy teams. Share plans, track progress and keep everyone on the same page.

Start freeSee how it works

Shared plans

Everyone sees the same plan, updated live.

Learn more

Gentle reminders

A nudge before things are due, never spam.

Learn more

Weekly review

See what got done and plan what's next.

Learn more

© Brightside. A sample page made from your palette.
  • ✓ Text on page: 16.57:1 (needs 4.5:1)
  • ✓ Text on cards: 14.91:1 (needs 4.5:1)
  • ✓ Muted text: 5.73:1 (needs 4.5:1)
  • ✓ Button text: 6.31:1 (needs 4.5:1)
  • ✓ Buttons on page: 3.19:1 (needs 3:1)
  • ✓ Accent on page: 3.28:1 (needs 3:1)
Change which color does what

Color blindness check

How the palette looks without one type of cone, simulated with the Machado, Oliveira and Fernandes (2009) model. Don't rely on color alone to tell things apart: add labels, icons or patterns.

Normal vision

12345

Protanopia (no red cones)

12345

Deuteranopia (no green cones)

12345

Tritanopia (no blue cones)

12345

Look alike: 1 and 4, 2 and 3, 3 and 4

Grayscale (no color vision)

12345

Look alike: 1 and 4, 1 and 5, 2 and 3, 2 and 5, 3 and 4, 4 and 5

Contrast grid

Every text color (columns) on every background (rows). AA needs 4.5:1 for normal text, AAA 7:1; Large means it passes only for large or bold text (3:1).

Background
Aa1.0Aa1.0Aa1.1Aa1.0Aa3.3LargeAa6.3AA
Aa1.0Aa1.0Aa1.0Aa1.0Aa3.4LargeAa6.2AA
Aa1.0Aa1.0Aa1.0Aa1.0Aa3.4LargeAa6.2AA
Aa1.1Aa1.0Aa1.0Aa1.0Aa3.5LargeAa6.0AA
Aa1.0Aa1.0Aa1.0Aa1.0Aa3.4LargeAa6.1AA
Aa3.3LargeAa3.4LargeAa3.4LargeAa3.5LargeAa3.4LargeAa21.0AAA
Aa6.3AAAa6.2AAAa6.2AAAa6.0AAAa6.1AAAa21.0AAA

Contrast check

Text
Background

Large text

Normal text reads like this paragraph.

6.31:1

  • ✓ Pass · AA normal text (4.5:1)
  • ✓ Pass · AA large text (3:1)
  • ✗ Fail · AAA normal text (7:1)
  • ✓ Pass · AAA large text (4.5:1)

Ratios follow WCAG 2.2. Large text means at least 18pt (24px), or 14pt (about 18.5px) bold.

How to make a color palette

1

Pick a starting point

One color (a HEX code or the color chooser), an image's main colors, or words like "pastel ocean". Or press Generate (or the spacebar) for a random start.

2

Choose a color rule

Monochromatic, analogous, complementary, split complementary, triadic or square. Surprise me picks one for you.

3

Lock what you like

Lock the colors you want to keep and generate again. New colors are built around the first locked one.

4

Fine-tune

Adjust any color's lightness, chroma and hue, add or remove colors, reorder them and undo any step.

5

Check and export

Check text contrast, then copy CSS, Tailwind, SCSS, JSON or a HEX list, download PNG, SVG, ASE or GPL, or copy a share link.

Start from a color, an image or words

One color

Type your brand color's HEX code or pick it, choose a color rule, and the palette is built around it. Your color stays exactly as it is.

An image

Choose, drop or paste a photo, screenshot or logo. Its main colors, in order of how much of the image they cover, fill the palette. Nothing is uploaded.

Words

Type a theme and a mood, like "cozy coffee" or "pastel ocean". Words are matched against a built-in list of themes, moods and color names. No AI, and unknown words are shown so you know what was used.

Color harmony rules, explained

Each rule places colors at fixed angles around the color wheel from your starting color. The generator adds lighter and darker versions when you ask for more colors than a rule has hues.

Monochromatic

One hue in lighter and darker versions.

Calm, consistent interfaces and brands where one color does all the work.

Analogous

Hues next to each other on the color wheel, about 30 degrees apart.

Natural, harmonious looks, like a sunset or a forest. Add a neutral for text.

Complementary

Two hues opposite each other on the wheel.

Strong contrast: one color for most of the design, its opposite for buttons and highlights.

Split complementary

One hue plus the two hues on either side of its opposite.

Contrast that is easier to balance than a straight complementary pair.

Triadic

Three hues evenly spaced, 120 degrees apart.

Lively, balanced palettes for illustrations, games and playful brands.

Square

Four hues evenly spaced, 90 degrees apart.

Rich palettes with lots of variety. Let one color lead and use the others sparingly.

Choosing a color palette for a website

Use the 60-30-10 rule of thumb

About 60% of the design in a main color (often a light or dark neutral), 30% in a secondary color, and 10% in an accent for buttons and links. It keeps a palette from looking busy.

Give every color a job

Background, surface (cards and panels), text, primary (buttons), and accent (highlights). A palette with clear roles is easier to apply than five equal colors.

Check text contrast early

Body text needs at least 4.5:1 against its background for WCAG AA, and large text at least 3:1. The contrast check below the palette shows the ratio for any two colors.

Keep a neutral nearby

Most harmony rules give colorful palettes. Add a near-white and a near-black, or a gray tinted with your main hue, for text and backgrounds.

Check a palette before you use it

A palette that looks good as swatches can still fail on a real page. Three checks sit below the generator.

Website preview

See the palette on a sample website in light and dark mode. Colors are given roles automatically (page, cards, text, buttons, accent) with WCAG contrast in mind, and you can change which color does what.

Color blindness check

See the palette as people with protanopia, deuteranopia or tritanopia (missing red, green or blue cones) and with no color vision, simulated with the Machado, Oliveira and Fernandes model. Colors that become hard to tell apart are flagged.

Contrast grid

The WCAG contrast ratio for every color on every other color, plus white and black, marked AA (4.5:1), AAA (7:1) or large text only (3:1).

Tailwind CSS color scales from your palette

Tailwind names each color's shades 50 (lightest) to 950 (darkest). The generator builds that scale for every palette color: your color stays exactly as it is, at the step nearest its lightness, often 500 or 600, and the other ten steps follow the lightness and colorfulness of Tailwind v4's own default colors, so your shades sit naturally next to the built-in ones.

In Tailwind 4, colors live in CSS: paste the copied @theme block into your main stylesheet and classes like bg-brand-500 work right away. Tailwind 3 projects take the same colors in theme.extend.colors in tailwind.config.js. Plain CSS variables are there for everything else.

Why the palettes look balanced

Many generators work in HSL, where “50% lightness” means very different things for different hues: a 50% yellow looks far brighter than a 50% blue. This generator works in OKLCH, a modern color space (also usable directly in CSS) whose lightness follows how bright colors actually look. Colors built with the same lightness really do look equally light, so a palette doesn't end up with one color that jumps out by accident.

OKLCH can describe colors more vivid than most screens show. When that happens, the generator lowers the color's chroma (colorfulness) until it fits, and keeps the lightness and hue you chose.

Want colors from a photo instead? The Image Color Picker extracts an image's main colors and exact pixels. To turn one palette color into another format, such as HEX to CMYK for a chosen printing condition, use the Color Converter.

Frequently asked questions

What does a color palette generator do?

It suggests a set of colors that work well together. This one starts from one color, or a random one, and places the others with a color wheel rule such as complementary or triadic. You can lock, adjust and export the result.

How do I make a color palette from one HEX color?

Type the HEX code in Start from, or use the color chooser next to it. The palette is rebuilt around that color with the rule you choose, and your color stays in the palette unchanged.

How do I keep a color and change the rest?

Click the lock on that color, then press Generate or the spacebar. Locked colors stay put, and the new colors are built around the first locked one so they still fit together.

Which color harmony should I choose?

Analogous and monochromatic palettes look calm and natural. Complementary and split complementary give strong contrast for buttons and highlights. Triadic and square are the most colorful, so let one color lead. Surprise me picks a rule at random each time you generate.

Why does the generator use OKLCH?

In OKLCH, lightness matches how bright a color looks, so palettes come out evenly balanced. In HSL, a yellow and a blue at the same lightness look very different. If a color is too vivid for screens to show, the generator lowers its chroma and keeps its lightness and hue.

Can I export the palette to CSS, Tailwind or design apps?

Yes. Copy it as CSS custom properties, SCSS variables, a Tailwind CSS theme block, JSON or a plain HEX list, or download a PNG or SVG swatch sheet, an ASE file for Adobe apps or a GPL palette for GIMP and Inkscape. Every color can also be shown as RGB, HSL, HSV, CMYK or OKLCH.

Can I share a palette?

Yes. Copy palette link puts the colors in the link itself, after the # sign, which browsers don't send to any server. Opening the link shows the palette here, ready to edit.

How do I check that my palette is readable?

Use the contrast check below the palette. Pick a text color and a background and it shows the WCAG 2.2 contrast ratio with AA and AAA results for normal and large text.

Can I see my palette on a website before using it?

Yes. The website preview applies the palette to a sample page in light and dark mode, choosing which color is the background, text, buttons and accent so the text stays readable. You can change any of those roles, and the key contrast ratios are shown below the preview.

Is my palette color-blind friendly?

Check it with the color blindness check below the palette. It simulates protanopia, deuteranopia, tritanopia and grayscale and flags colors that become hard to tell apart. Even with a friendly palette, don't use color as the only way to show meaning: add labels, icons or patterns.

Can I make Tailwind color shades from 50 to 950?

Yes. Every palette color gets a full 50 to 950 scale. Your color keeps the step closest to its own lightness, exactly, and the other steps follow the lightness and colorfulness curve of Tailwind CSS v4's default colors. Name each scale, then copy them as a Tailwind 4 @theme block, a Tailwind 3 config or CSS variables, with HEX or OKLCH values.

Can I make a palette from an image?

Yes. Choose Start from: Image, then choose, drop or paste an image (Ctrl+V works for screenshots). Its main colors fill the palette in order of how much of the image they cover, and locked colors stay. For one exact pixel, or every color in a logo, use the Image Color Picker.

Can I make a palette from words?

Yes. Choose Start from: Words and type something like "ocean sunset" or "pastel spring". Words are matched against a built-in list, with no AI and nothing sent anywhere: theme words (ocean, forest, coffee, retro and about 60 more) bring a hand-picked set of colors, mood words (pastel, muted, dark, vibrant, warm, cool) change the whole palette, and any CSS color name such as teal or coral adds that color. Words that aren't in the list are shown, and Generate gives another mix.

Is it free, and is anything saved or uploaded?

It's free with no sign-up. Everything runs in your browser. Palettes you export or save are kept in this browser's storage under Your recent palettes, and never leave your device.

Ready to build your palette?

No sign-up and nothing uploaded. Start from your brand color or press the spacebar for something new.