Your pixels stay on your device.

Color Palette Generator

Generate a palette and lock the colors you want to keep.

Loading workspace…

A color palette generator builds a set of colours you can actually use: for a site, a brand, an illustration, or a layout. Press the space bar for a new random palette, start from one hex, follow a harmony rule, or open a photo and pull a starting set from it. Lock the swatches you like, check WCAG contrast, and export or share a link.

No file is required. Generate palettes from random colours, a harmony rule, or a hex you already have. You can also open an image and start the palette from that photo. Runs in your browser. Nothing is uploaded.

A random palette appears, one swatch is locked, the rest refresh, then a contrast check and a share link show
A random palette appears, one swatch is locked, the rest refresh, then a contrast check and a share link show

How to Use the Color Palette Generator

  1. Choose Build a palette. Random (default) creates a new palette each time you press the space bar or New palette; From HEX starts from a typed HEX color; or choose a harmony scheme directly (Analogous, Complement, Triadic, Tetradic, Split comp., or Mono — use color palette extractor to pull colors from a photo).

  2. Set Colors from 2 to 10. The page opens at 5, a typical size for a site or a small brand.

  3. Lock any swatch you want to keep, then press space or change the rule so only the unlocked colours refresh. This is how you hold a brand hex and try new companions around it.

  4. Leave Color space on OKLCH, the default, for more even steps between swatches. Switch to HSL if you prefer that model.

  5. Keep Show contrast checks on (it is on by default) to see which pairs meet WCAG contrast guidelines — useful when two swatches will be used as text and background.

  6. Copy the colours, export a PNG or SVG card, CSS, a Tailwind config, an ASE file, or JSON, or share a URL that encodes the palette. Opening that link brings the same colours back.

Color Palette Generator Features

Random palettes, with a lock on every swatch

Random mode is the fastest way to explore. Press the space bar to get a new set, lock the colours you want to keep, and press space again. Unlocked swatches change; locked ones stay put. You can also lock a single brand colour and let the rest move around it. There is no account and no saved library on a server: if you want to come back to a palette, share or bookmark the URL.

Harmony rules, a hex start, and a photo start

Harmony mode follows classic colour-wheel relationships: analogous, complementary, triadic, tetradic, split complementary, and monochrome. From hex starts with a base colour you already know. From image is for when a photo is the source of truth; this color palette generator can start there, and the color palette from image page is better if you need draggable sample points, an ignore-white/black switch, or GIMP GPL export. This generator does not build a palette from a name, a word, or an AI prompt.

Count, OKLCH or HSL, and a WCAG contrast check

You choose from 2 to 10 swatches, starting at 5. OKLCH is the default colour space because it gives more even steps than HSL, which is also available. The contrast check, on by default, flags how pairs perform against WCAG guidelines; it checks your swatches, not every layout, and does not replace a color blindness simulator.

The default way to keep a palette is a URL that encodes the colours, so you can send it or bookmark it. You can also copy the values, download a PNG or SVG card, export CSS or a Tailwind config, save an ASE file for Adobe apps, or take JSON into a project. Nothing here opens Canva, Photoshop, or Adobe Color; you get files and codes those tools can use.

Color Palette Generator Use Cases

Start a site or brand palette and keep the colours that work

Leave the generator on random and press the space bar until something feels close. Lock the one or two swatches you would use for a background or button, then refresh the rest until the set holds together. Five colours is a solid start: one dark, one light, one accent and two supporting tones. Check text contrast, export CSS or Tailwind for the site, and share the URL with your team.

Build a complementary or analogous scheme from a brand hex

With a brand colour already chosen, use from hex (or read the hex with the color picker from image), lock that swatch, and pick a harmony rule. Complementary gives a strong opposite accent, analogous stays quieter, and split complementary sits between; triadic and tetradic need a careful hand. Set the count to match, adding neutrals if the interface needs them, and export ASE for Adobe or a PNG card to share.

Start from a photo, then generate companions

A product shot or illustration can give you a base, but you may want a complement or cleaner neutral that was not in the frame. Start from image, lock the swatches that must match the photo, and generate the rest with a harmony rule or random. If extraction is the real job, with draggable points, a white backdrop to ignore or GPL export, use the color palette from image tool and return with a hex.

Design an interface palette that can pass contrast checks

UI work fails when body text disappears into a background that looked fine as two swatches. Keep the contrast check on and treat a fail as a reason to unlock one of the pair and regenerate, or to add a darker or lighter swatch. Lock the brand accent and let the text and background neutrals move until they pass. For colour-blind viewing, use the simulator linked in the features above.

Complementary, Analogous, and the Other Harmony Rules

Complementary colours sit opposite each other on the wheel and give the strongest hue contrast. Analogous colours sit side by side and feel calmer. Split complementary takes one colour and the two neighbours of its opposite. Triadic uses three evenly spaced hues; tetradic uses four, usually two complementary pairs. Monochrome stays on one hue and varies lightness and chroma; if it drifts from your base, check the swatch is locked and compare OKLCH with HSL.

A color scheme generator and a color palette generator are the same job here: a small set of colours made by a rule or by chance, ready to copy and share. This page does not invent a palette from a name, sentence or AI prompt; type a hex, press space, pick a rule or open a photo instead.

Is the Color Palette Generator Private?

Yes. Palettes are generated in your browser, a photo you open is not uploaded, and there is no account. A share URL encodes the colours in the link, so anyone you send it to sees the same set; keep an unreleased brand palette out of public posts.

Color Palette Generator FAQ

What is a complementary colour scheme?

It is a scheme built from colours that sit opposite each other on the colour wheel — for example a blue with an orange accent. In this color palette generator, choose the complementary harmony rule, optionally starting from a hex you already have. Split complementary is the milder variant that uses the two neighbours of the opposite hue.

How do I copy the colours?

Copy the values from the palette, or export CSS, Tailwind, JSON, an ASE file, or a PNG or SVG card. You can also copy the share URL, which encodes the same colours so someone else, or you later, can open them. Random palettes are not stored in an account, so save the URL for any set you like.

Can I generate a palette based on one color?

Yes. Start from hex, type your colour, and pick a harmony rule; lock that swatch so it does not move. Monochrome stays on its hue and varies lightness and chroma to build tints and shades, and try OKLCH if the steps feel uneven in HSL. The other swatches are variations of that hue, not new hues.

Can I generate a color palette from an image?

Yes. Choose the from-image mode and open a photo. The generator uses that picture as a starting point. If you need more control over which pixels are sampled, use the color palette from image page, then bring a hex back here to build companions.

Is there a color palette generator without AI?

Yes, this one. Palettes come from colour-harmony rules in OKLCH or HSL, from a random draw, from a hex or from a photo, not from an AI model. That also means you cannot generate a palette from a name, a word or a text prompt here.

Does the contrast check mean my palette is accessible?

It tells you whether pairs in the palette meet WCAG contrast guidelines, which is the right first check for text on a background. It does not test colour blindness, and it cannot certify a whole interface. Use it to catch weak pairs, then test the real layout.

Does this color palette generator work on iPhone and Android?

Yes. It runs in the mobile browser. You can generate, lock, and export a palette, and you can open a photo from the library if you use from-image mode. A hardware keyboard is handy for the space bar, but the page also works without one.

Is the color palette generator free, and is anything uploaded?

It is free, with no account and no watermark, and nothing is uploaded. Generation runs in your browser. A photo you open for from-image mode stays on your device. A share link encodes the palette colours in the URL; it does not upload your files to an account.

Can I make a 6 color palette?

Yes. Set the count to 6; it runs from 2 to 10 colours and starts at 5. Every harmony rule, random mode and from-image mode fill that many swatches. Lock the ones you want to keep and press space to redraw the rest.

What to Do Next After You Generate a Color Palette

01Use or test the colours

All tools