Three adjacent hues, harmonious. • Space = regenerate unlocked
:root {
--color-1: #3b82f6;
--color-2: #8b5cf6;
--color-3: #ec4899;
--color-4: #f59e0b;
--color-5: #10b981;
}What is the Color Palette Generator?
A palette generator builds 5-color schemes from a base color using 7 color-theory harmonies (monochrome, complementary, analogous, triadic, tetradic, split-complementary, shades). This one also extracts colors from uploaded images and validates every pair against WCAG 2.1 contrast requirements (AA and AAA, normal + large text).
Most palette tools focus on aesthetics. This one ships a one-click WCAG audit, so a palette that looks great visually also passes accessibility before it ships. Exports CSS variables, Tailwind config (v3 + v4 with OKLCH), SCSS, JSON design tokens, SVG swatches, and Figma Tokens Studio format.
How it works
Features
Who uses it
Frequently asked questions
Is the color palette generator free?▾
Yes. Unlimited use, no signup. Coolors charges $3-12/month for unlimited palettes + image extract; Adobe Color is free but locked into Creative Cloud sync. This one runs entirely in your browser.
Which harmonies does it support?▾
Seven: Monochrome (single hue, varying lightness), Complementary (base + opposite), Analogous (three adjacent hues), Triadic (three hues 120° apart), Tetradic (four hues 90° apart), Split-complementary, and Shades (Tailwind-style 50→950 ramp).
Can I extract colors from an image?▾
Yes. Drop a PNG, JPG, or WebP and we extract the dominant 5 colors via histogram quantization. Runs in browser -your image never leaves your device.
Does it check WCAG contrast?▾
Yes. Every swatch shows its contrast against black and white, plus AA / AAA / Fail badges for normal (4.5:1, 7:1) and large text (3:1, 4.5:1). Pick combos that pass for accessible UI.
Which export formats are supported?▾
Six: CSS custom properties (--color-1), Tailwind config snippet, SCSS variables, JSON (design-token shape), SVG swatch strip, and Figma Tokens Studio format. One-click copy each.
Does it work with Tailwind v4?▾
Yes. The Tailwind export includes both v3 (tailwind.config.js extend) and v4 (@theme inline) shapes. OKLCH preview is included for v4 users.
What's WCAG AA vs AAA?▾
WCAG 2.1 contrast standard. AA: 4.5:1 for normal text, 3:1 for large (18pt+). AAA: 7:1 normal, 4.5:1 large. AA is the legal minimum (ADA, EAA); AAA is the gold standard.
Can I lock specific colors and regenerate?▾
Yes. Click the lock icon on any swatch; press space or click Generate to regenerate only the unlocked ones. Same Coolors flow, no signup.
Is my data private?▾
Yes. Math + image processing run in your browser. Uploaded images, color values, exported palettes all stay on your device.
Can I save palettes?▾
Use the export buttons (CSS / Tailwind / JSON / SVG) to download. No accounts means no saved-palette gallery, but the JSON export is the standard exchange format for design tokens -import into Style Dictionary, Figma Tokens, or your own design system.
Generate a palette
7 harmonies, image extract, WCAG audit, 6 export formats. Free unlimited.
Open the generatorRelated developer + design tools
The Color Palette Generator page is built, reviewed, and maintained by the Molixa team. We use the tool we ship and update the docs when the behavior changes.
Related Developer Tools
JSON Formatter & Validator
Format, validate, tree-view, schema-gen, type-gen, diff. 100% browser-side.
Base64 Encoder/Decoder
3 variants side by side, image preview, hex dump fallback.
Regex Tester
Live regex tester with multi-flavor compare and click-to-insert cheatsheet.
CSS Gradient Generator
Create beautiful CSS gradients with a visual editor.
JWT Decoder
Decode + sign + verify HS256/384/512 in browser.
SQL Formatter
5 dialects, auto-detect, 3 keyword-case modes, browser-only.
Popular Tools
AI Content Detector
Check if text was written by AI with a sentence-by-sentence heatmap.
YouTube Video Summarizer
Turn any YouTube video into clear notes with chapters, quotes, chat, and flashcards.
PDF Summarizer
PDF summarizer with page citations, multi-doc compare, and domain templates.
AI Text Rewriter
Paraphrase in 10 modes with diff view, freeze words, and brand voice training.
AI Math Solver
Free math solver with step-by-step solutions, photo upload, and 4 learning modes.
Watermark Remover
Brush over a watermark or object and remove it cleanly with AI. Pro/Plus.
Color Palette Generator vs paid alternatives
From the blog
- Color Palette Generator: Build Brand-Worthy Palettes in MinutesI use a color palette generator every time I start a new project. Here's the free one + the WCAG trick that saves me from accessibility lawsuits.Read article
- Base64 Encode, Decode, and Inline ImagesBase64 turns binary into text so it travels safely in URLs, JSON, and CSS. Here is how to encode and decode it, the three variants that trip people up, and when to inline.Read article
- How to Decode a JWT (Decode vs Verify)Anyone can base64-decode a JWT and read it; that is not the same as verifying it. Here is the difference, the attacks that exploit the gap, and how to decode safely.Read article