Color Palette Generator

    Generate 5-color palettes from a base HEX color with monochromatic, analogous, complementary, triadic, tetradic, and random harmony modes.

    Tip: press Space for a new palette. Lock a swatch to keep it unchanged during the next generation.

    :root {
    
    }

    Generate a 5-color design palette

    Use this color palette generator to start from one HEX color and build a compact palette for UI mockups, websites, dashboards, product cards, and brand experiments.

    • Choose a base color with a color picker or by entering HEX.
    • Switch between monochromatic, analogous, complementary, split-complementary, triadic, tetradic, and random harmony modes.
    • Copy each color as HEX, RGB, or HSL.
    • Export the full palette as CSS variables, Tailwind config, or JSON.

    Harmony model

    The tool uses HSL hue offsets around the color wheel. Harmony modes are quick starting points, not a substitute for testing the palette inside the real layout.

    ModeTypical feelGood starting point for
    MonochromaticQuiet and cohesiveDashboards, forms, restrained UI
    AnalogousSoft and naturalLanding pages, editorial sections, backgrounds
    ComplementaryHigh contrastCalls to action and accent states
    TriadicLivelyIllustrations, charts, playful interfaces
    TetradicRich but harder to balanceInfographics and multi-section layouts

    Accessibility and export notes

    Check final text contrast
    A harmonious palette does not guarantee accessible text. WCAG contrast depends on the exact foreground/background pair, font size, weight, and final UI state.

    The preview chooses black or white text for readability, but it is not a full WCAG audit. Check final text/background pairs before shipping.

    CSS variables are useful for plain CSS, Tailwind export is a starter `extend.colors` block, and JSON works well for design-token scripts or internal tooling.

    Frequently Asked Questions

    Sources and References

    Calculations are based on the listed reference sources. Links open in a new tab.

    Updated:

    Related Tools