Tailwind Color Palette Generator
Generate a Tailwind-style 50–950 shade scale from a single base color.
What is Tailwind Color Palette Generator
A Tailwind color palette generator creates 11 shades (50–950) from one base color by keeping hue and saturation while varying lightness — producing a cohesive color scale for design systems.
🔒 Everything runs in your browser. Nothing is uploaded.
What this tool actually does with your file
- Where it runs
- In your browser, on this page
- Upload
- None — the file never leaves your device
- Offline
- Works with the network disconnected
Eleven steps from 50 to 950 around one hue
The scale keeps the hue and saturation of the input colour and varies lightness on a fixed ladder: 96%, 91%, 82%, 70%, 58%, 48%, 41%, 34%, 27%, 20%, 13%. The middle step (500) sits near the input colour's own lightness, so the base colour remains identifiable in the ramp.
This is not how the official Tailwind palette was made. Those colours were hand-tuned per hue — yellow's steps sit at different lightnesses than blue's — precisely because equal-lightness steps look uneven across hues. A generated ramp is consistent and slightly mechanical; the hand-tuned one is uneven and looks better.
Text contrast is the practical constraint
A step that passes contrast for body text on white is usually 600 or darker; 500 is often fine for large text only. Generating a ramp gives you the colours, not the decision — the ratio against the actual background has to be measured, and it changes if the background is not pure white.
Dark mode needs a separate ladder rather than a reversed one. Step 400 on a dark background is not the mirror of step 600 on a light one, because perceived contrast is asymmetric; inverting the ramp produces muddy mid-tones.
Wiring it into Tailwind
Tailwind 4 reads theme values from CSS custom properties, so the ramp goes into an @theme block as --color-brand-50 … --color-brand-950. Generating the ramp as CSS variables rather than Tailwind config is what makes it work with the CSS-first configuration and with runtime theme switching.
Name the scale by role rather than by hue if the palette can change — --color-brand-600 survives a rebrand, --color-blue-600 does not. The ramp values are the same; only the indirection changes, and it saves a find-and-replace later.
How to use
- 1.Enter a base color in HEX (e.g. #3B82F6)
- 2.Click Run
- 3.Copy the shade scale
How this compares
There are three ways to do this conversion: in the browser (this page), through a server-side converter, or with a desktop app. The useful difference is not speed — it is where your file goes and how far the free tier actually reaches.
| Aspect | This tool | Upload-based converters | Desktop software |
|---|---|---|---|
| Where the file is processed | In your browser, on this page | On the vendor's servers, after an upload | On your own machine, after installing an app |
| Account required | No | Usually — free tiers ask you to sign in before lifting a limit | No, though a licence may be needed |
| Size you can process for free | No size cap, no run limit | A few files per hour, or a ~5–10 MB cap before a paywall | Whatever your disk and RAM allow |
| Price | Free. Pro is $9/month, and only buys larger files and AI features | Usually a subscription — roughly $7–15/month as of November 2026 | A one-off licence, or a subscription |
| Works offline | Yes, once the page has loaded | No | Yes |
| Time before work starts on a 20 MB file | Immediate — there is nothing to upload | Dominated by the upload — about 16 s on a 10 Mbps uplink | Just the app launch |
| What it cannot preserve | Nothing is stored, which also means a closed tab cannot be recovered | The same — the conversion is the same maths | The same, though some desktop apps re-render styles more faithfully |
Server-side converters are genuinely better at some things: very large files, sharing results with a team, keeping a conversion history, and automating batches from a script. For the case in front of you — one file, one format change, right now — they mostly add an upload wait and a sign-up form.
Frequently asked questions
Does it change my original color?
No. Hue and saturation stay the same; only lightness varies across 11 steps.
Can I copy the values?
Yes — copy each HEX value directly into CSS or your Tailwind config.
More in Random
On this page
- What is Tailwind Color Palette Generator
- What it does with your file
- How it actually behaves
- How to use it
- How this compares
- FAQ
Excel formula reference
29 functions with syntax, arguments and a table you can retype.
Browse the list →