Loading…
Loading…
Build a palette from one colour — a 50–950 shade scale or complementary, analogous, triadic and other harmonies, worked out in OKLCH — and export CSS, Tailwind, SCSS or JSON.
Also covers: Color scheme generator · Tailwind color palette · Shade generator
Colours are worked out in OKLCH, so equal steps look equally different to the eye and hues don't drift as they do in HSL. Check text colours with the contrast checker.
Click a swatch to copy its HEX.
:root { --brand-50: #f0f5ff; --brand-100: #dce8ff; --brand-200: #bed5ff; --brand-300: #96baff; --brand-400: #699bff; --brand-500: #3f7dff; --brand-600: #2863e2; --brand-700: #184cbf; --brand-800: #07369c; --brand-900: #002177; --brand-950: #00124c;}Or roll a random one.
A 50–950 shade scale, or complementary, analogous, triadic, split-complementary, square or monochromatic.
CSS variables, Tailwind v4 @theme, SCSS or JSON.
Palettes built in HSL look uneven: yellow at 50% lightness is far brighter than blue at 50%. OKLCH lightness matches what we see, so steps are even.
Export as “Tailwind v4 @theme” and paste into your CSS; the colours become classes like bg-brand-500.
Swatch labels switch between black and white automatically, but check your real text/background pairs with the contrast checker.
Colour
Pick any colour with a saturation/brightness square, from anywhere on your screen (EyeDropper), or from a photo — and get it in HEX, RGB, HSL, OKLCH and more.
Colour
Convert any colour between HEX, RGB, HSL, HSV, HWB, CMYK, Lab, LCH, OKLab and OKLCH, with the nearest CSS colour name.
Colour
Pull the main colours out of a photo or logo, with how much of the image each covers, and export them as CSS variables or JSON.
Accessibility
Check text and background colours against WCAG 2.2 AA and AAA, see the exact contrast ratio, and get the closest colour that passes.
CSS
Design linear, radial and conic CSS gradients with any number of colour stops and vivid OKLCH blending, and copy the CSS.
CSS
Layer soft, hard, inset and glowing box-shadows with a live preview, and copy the CSS.