Color Palette Generator
AI-poweredType a vibe — 'desert at dusk', 'cyberpunk lab' — and get a 5-color palette with hex, RGB, HSL, and OKLCH for every swatch.
01 — Overview
How the Color Palette Generator works
Generate cohesive color palettes from a natural-language vibe. Each palette comes back as five swatches with one-click copy in hex, RGB, HSL, and OKLCH. Tweak any swatch and re-export. Powered by Claude for the seed → palette step; conversions run locally.
02 — Use cases
When to use the Color Palette Generator
- 01
Kick off a brand exploration without opening a design tool
- 02
Get a palette for a landing page before a designer is involved
- 03
Translate a mood board prompt into usable CSS variables
- 04
Generate quick swatches for a data viz or chart series
03 — Examples
Color Palette Generator examples
sunset over Tokyo
ex 01#ff9472, #f2709c, #5b3a8c, #1d2671, #c33764
A warm-to-cool gradient palette inspired by city dusk.
minimal forest morning
ex 02#e8efe6, #b7c9b1, #8aa78a, #4f6b56, #243d33
Soft greens stepping from highlight to deep shadow.
cyberpunk diner
ex 03#0d0221, #ff003c, #00f0ff, #ffd700, #f6019d
High-contrast neons over near-black backgrounds.
brutalist zine, high contrast
ex 04#f4f1de, #e07a5f, #3d405b, #81b29a, #f2cc8f
Warm paper base with a terracotta accent and a deep navy for text.
04 — FAQ
Palette — frequently asked questions
How does it pick the colors?
Can I edit a single swatch?
Why OKLCH and not just HSL?
Are the palettes accessible?
How do I turn a palette into CSS variables?
How many colors should a palette have?
05 — Reference
Specs and further reading
The primary sources this tool follows. Where behaviour is defined by a specification, we link the specification rather than a summary of it.
- CSS Color Module Level 4
W3C — Defines the modern color spaces and notations used in the generated CSS.
- Understanding SC 1.4.3: Contrast (Minimum)
W3C WAI — The 4.5:1 and 3:1 contrast thresholds the palette checker validates against.
- oklch()
MDN Web Docs — Reference for the perceptually uniform color space used for lightness ramps.
07 — More
Tools that pair with Palette
Color Picker & Converter
Pick or paste a color, get every format — hex, RGB, HSL, OKLCH, CMYK, and the closest named color.
CSS Gradient Generator
Build linear and radial gradients visually. Pick stops, angle, and direction; copy as CSS or Tailwind arbitrary value.
Glassmorphism Generator
Visual builder for frosted-glass cards. Sliders for blur, opacity, saturation, border — copy CSS or Tailwind.