:root {
--color-1: #6366f1;
--color-2: #f1ee63;
}theme: {
extend: {
colors: {
palette: {
1: '#6366f1',
2: '#f1ee63'
}
}
}
}This tool is part of these guided projects. Each project provides step-by-step instructions with checklists and all the tools you need in one place.
Tools you might need next
Professional color picker with HEX, RGB, and HSL conversion, WCAG contrast checking, and palette generation. Pick colors and copy CSS-ready values instantly.
Generate CSS gradients. Linear and radial. Custom colors and angle. Free design tool with instant browser-based results — no account, works on desktop and
Generate 10 shades from one color. Light to dark. For design systems. Free design tool with instant browser-based results — no account, works on desktop and
The Color Palette Generator converts between RGB, HSL, HSV, and hex using standard linear transforms. Gamma-correct sRGB values are assumed unless otherwise noted.
HSL ↔ RGB via standard cylindrical transformContrast ratios are computed per WCAG 2.1 relative luminance formula. Results indicate AA and AAA compliance for normal and large text.
Contrast = (L1 + 0.05) / (L2 + 0.05)Generated values are emitted in copy-ready formats (hex, CSS, Tailwind, SVG). Precision is tuned for design tools without unnecessary floating-point noise.
Updated: July 2026
A UI designer uses the Color Palette Generator to explore complementary colors and verify WCAG contrast before handing specs to developers.
A front-end developer checks spacing, ratio, or typography values with the Color Palette Generator while implementing a Figma mockup in CSS.
A freelancer generates live examples with the Color Palette Generator during a client call to agree on visual direction without switching tools.
Use our free Color Palette Generator for fast, accurate results in your browser. No signup or installation required — works on any device.