Tailwind palette from a photo — copy and go
Your colors as full 50–950 Tailwind scales, named by hue, plus semantic tokens for light and dark themes. Paste the @theme block into your CSS — done.
- Free
- No sign-up
- No upload
- Works offline
Click the photo to pick a color into the selected swatch
Rows — text color, columns — background. Click a cell to preview.
Click a step to copy its HEX. ◆ marks your original color. Numbers show contrast with white / black.
Semantic tokens built from your palette. Every text pair is checked for WCAG AA (4.5:1).
How it works
Get colors
Drop a photo or edit the swatches.
Choose the format
Tailwind v4 @theme or Tailwind v3 config, colors in HEX or OKLCH.
Copy
Paste into app.css or tailwind.config.js and use bg-primary-500, text-accent-700…
Why Palettely
Readable pairs at a glance
A full contrast grid for your palette — not one pair at a time. AA and AAA badges tell you what works for text.
Light and dark tokens
Background, surface, text, primary and accent for both themes, each text pair already checked.
Your photo never leaves
Everything runs in your browser. No upload, no account — and it works offline.
Perceptual math
Colors are grouped and shaded in OKLab / OKLCH, so scales are even and hues stay true.
Compared with others
Coolors
Great for browsing random palettes, but contrast is a separate tool and exports to Tailwind are behind Pro. Palettely shows every pair’s contrast next to the palette and exports for free.
Adobe Color
Powerful color wheel and a photo extractor, but it wants an Adobe account to save, and shades/tokens for code are not its focus. Palettely goes straight to CSS, Tailwind and Figma.
Color Hunt
A beautiful gallery of ready palettes — but they are someone else’s colors. Palettely builds the palette from your own photo or brand colors.
Questions
Is my photo uploaded anywhere?
No. The photo is read and analysed by your browser on your device. Palettely has no server that receives images — you can even use it offline once the page has loaded.
What do AA and AAA mean?
They are the WCAG 2.1 contrast levels. AA needs a ratio of at least 4.5:1 for normal text and 3:1 for large text (24 px, or 18.7 px bold). AAA needs 7:1 for normal text and 4.5:1 for large text. Pairs below 3:1 should not be used for text at all.
How are the colors picked from the photo?
The image is reduced to a few thousand pixels, grouped with k-means in the perceptual OKLab space, and the final colors are chosen so they are both common in the photo and clearly different from each other. Click anywhere on the photo to pick an exact color by hand.
What are the 50–950 shades?
A scale like Tailwind’s: 50 is almost white, 950 almost black, 500 is the middle. Palettely builds it in OKLCH, so every step has an even change in lightness and keeps the hue — no muddy or neon steps.
Which export formats are there?
CSS variables (with a dark theme), Tailwind v4 @theme and Tailwind v3 config, SCSS variables, Figma Variables JSON (W3C design tokens) and plain JSON — in HEX, OKLCH, RGB or HSL. Plus a PNG or SVG palette card.
Can I use the palettes commercially?
Yes. Colors are yours to use in any project, without credit.