A consistent interface
See the same scale working across light and dark surfaces.
Primary actionRuns entirely in your browser - no upload, no sign-up.
Start with one color
Used in classes such as bg-brand-500.
This shade keeps your exact input color.
11 production-ready shades
See the same scale working across light and dark surfaces.
Primary actionSee the same scale working across light and dark surfaces.
Primary actionReady to paste
A Tailwind palette generator turns one brand color into a complete 11-step scale from 50 to 950. Choose which shade keeps your exact input, preview the result on light and dark surfaces, then copy the palette as Tailwind v4 theme variables, a v3 config object, CSS variables, or JSON.
Type a 3- or 6-digit hex value or use the color picker. The 11 shades update instantly.
Select the step that must equal your exact input. Shade 500 is the common default, while 400 or 600 may fit lighter or darker brand colors.
Set a lowercase token name, then click individual swatches to copy hex values and check the light and dark previews.
Choose Tailwind v4, Tailwind v3, CSS variables, or JSON and copy the complete code block.
Tailwind projects need more than one brand hex. Hover states, subtle backgrounds, borders, readable text, and dark themes all need related shades. This tool creates that ladder in perceptually uniform OKLCH color space, reduces chroma when a generated shade falls outside the sRGB gamut, and keeps your chosen anchor color byte-for-byte.
Tailwind v4 uses @theme variables in the --color-* namespace. The v4 export follows that convention with OKLCH values, while the v3 export produces an extend.colors object with hex values.
Yes. You can generate and copy unlimited color scales without an account, watermark, or paid export. Every format shown in the workspace is available immediately.
No. Palette generation and export formatting run entirely in your browser. The hex value and color name you enter are not sent to a processing server.
A current Tailwind color family normally contains 11 numbered steps: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, and 950. Lower numbers are lighter and higher numbers are darker.
No. Shade 500 is a useful default, but you can anchor your input at any step from 50 to 950. The generator keeps that anchor exact and redistributes lighter and darker steps around it.
Use the Tailwind v4 export for projects configured with CSS-first <code>@theme</code> variables. Use the v3 export when your project still extends colors in <code>tailwind.config.js</code>. CSS variables and JSON are framework-neutral alternatives.
OKLCH makes lightness changes more visually even than simple RGB or HSL mixing. It also separates lightness, chroma, and hue, so the generator can shape a readable ladder while preserving the character of your base color.
No shade number guarantees accessible contrast. The preview helps you inspect the scale, but you should test every real text and background pair against the WCAG target your product requires.