๐Ÿ”’ Runs in your browser โ€” nothing is uploadedโœ“ Free, no signup

Color Palette Generator

Generate five-color palettes based on color-wheel harmonies. Lock the colors you like, start from your own brand color, and export the palette as CSS, Tailwind or JSON.

Tip: press the space bar to generate a new palette. Lock the colors you like to keep them.

    When should you use the Color Palette Generator?

    • Choosing colors for a new website, app or brand
    • Building a palette around an existing brand color
    • Getting Tailwind or CSS variables for a design system

    How to use the Color Palette Generator

    1. 1

      Pick a harmony

      Leave 'Surprise me' or choose analogous, monochromatic, complementary, triadic or split complementary.

    2. 2

      Generate

      Click Generate palette or press the space bar until you like what you see.

    3. 3

      Lock favourites

      Click the lock on any color to keep it while the others change.

    4. 4

      Export

      Copy a single HEX by clicking it, or copy the whole palette as CSS, Tailwind or JSON.

    Examples

    Monochromatic palette from #6D28D9

    Settings

    Harmony: Monochromatic
    Start from: #6D28D9

    CSS variables

    :root {
      --color-1: #DBCBF6;
      --color-2: #AC86EA;
      --color-3: #7A3CDD;
      --color-4: #511DA5;
      --color-5: #2F115F;
    }

    Common errors and how to fix them

    My starting color isn't used
    Check the format โ€” it must be a valid HEX, rgb() or hsl() value. The field turns red when it can't be read.
    Space bar doesn't generate a new palette
    Click an empty area of the page first. The shortcut is disabled while you're typing in a field.
    Related tools:ย Color Picker & Converter ยท CSS Gradient Generator ยท PX to REM Converter

    More from Design & Color

    Free tools that run in your browser โ€” no signup, nothing uploaded.

    Color Palette Generator FAQ

    Click Generate palette or press the space bar. Lock the colors you like by clicking the lock icon, then keep generating โ€” locked colors stay while the others change.

    They follow the color wheel. Analogous uses neighbouring hues for a calm look, Monochromatic uses one hue in different shades, Complementary pairs opposite hues for contrast, and Triadic and Split complementary use three evenly spaced hues for lively but balanced palettes.

    Yes. Enter your color in 'Start from a color' (HEX, RGB or HSL) and the palette is built around it using the harmony you choose.

    Choose CSS variables to get a :root block you can paste into your stylesheet, or Tailwind to get a colors object for tailwind.config.js. JSON and plain HEX lists are also available.

    Each HEX label uses whichever of white or black meets the WCAG 4.5:1 contrast ratio on that color, so it stays readable. Use the Color Picker to check contrast for your own text colors.

    Yes. Colors can't be owned โ€” use the palettes in any personal or commercial project.