Colors
Hue-Locked Color Palette Generator
Used by developers, writers, and creators worldwide.
A hue-locked color palette generator builds a complete tonal family from a single hue value, varying only saturation and lightness across every swatch. Set the hue (0–360) and choose how many colors you need — anywhere from a quick 4-step pairing to a full 10-step scale — and every output is guaranteed to feel related. No hue drift, no guesswork. Designers use this to produce structured scales for Tailwind configs, design tokens, and Figma libraries. Developers reach for it when seeding UI state colors — hover, active, disabled — from one brand color. Because saturation shifts alongside lightness, you get vivid accents, dusty mid-tones, and deep shades that all read as the same family.
Loading usage…
Free forever — no account required
How to use
- Choose your options above
- Click Generate
- Copy your result
Detailed instructions
- Enter your target hue as a number from 0 to 360 in the Hue field — use your brand color's HSL hue value for precision.
- Set the Number of Colors field to how many swatches you need, typically 6 for simple UIs or 8–10 for full design token scales.
- Click Generate to produce the hue-locked palette as a grid of color swatches.
- Click any swatch or its hex code to copy the value, then paste directly into Figma, your CSS variables, or your design token file.
- If the range feels too muted or too vivid, regenerate — the saturation variation is randomized within the hue lock, so each run produces a slightly different feel.
Use Cases
- •Building an 8-step Tailwind color scale for backgrounds, borders, hover, and focus states from one brand blue
- •Generating design token values in Figma for a component library where all surface and text colors share a single hue
- •Creating light-mode and dark-mode surface pairs — tint at the top, shade at the bottom — from one locked hue
- •Producing tonal fills for a multi-series chart where every data color belongs to the same visual family
- •Sampling a 6-swatch colorway for textile or print production before committing to physical samples
Tips
- →Convert your existing brand hex color to HSL in browser DevTools (F12, pick color, switch to HSL) to find the exact hue value before generating.
- →Generate two palettes at the same hue but different counts — one at 6 for production tokens and one at 12 to audition the in-between shades.
- →Hues near 60 (yellow) and 30 (orange) produce very light pale tints that may fail contrast checks at low lightness — always verify hex codes in a contrast tool.
- →For dark-mode surfaces, the darkest 2–3 swatches in an 8-step palette work well as background layers while the lightest serve as text or icon fills.
- →Pair a hue-locked palette with a complementary hue (add 180 to your locked hue, wrapping at 360) to build a split-complementary system with built-in harmony.
- →Regenerate several times and collect your favorite runs — because saturation varies per generation, different attempts suit different contexts like vibrant marketing vs. subdued data UI.
FAQ
what hue number should I use for blue, green, or red
Red sits at 0 (or 360), yellow at 60, green at 120, cyan at 180, sky blue at 210, and pure blue at 240. Most brand blues land between 200 and 230. To find your exact brand hue, open the color in Figma, Adobe XD, or browser DevTools and read the H value from the HSL display.
how is a hue-locked palette different from a monochromatic palette
A strict monochromatic palette holds saturation fixed and only steps through lightness, which often produces flat mid-tones. This generator varies saturation alongside lightness, so vivid accents, muted neutrals, and deep shades coexist in the same hue family — giving each swatch more distinct character.
can I use the generated colors for accessible text and background combinations
Yes, but contrast must be verified separately. A light tint and a dark shade from the same hue-locked scale can easily meet WCAG AA (4.5:1) contrast. Copy the hex codes into a contrast checker tool to confirm before shipping — the palette guarantees harmony, not compliance.