Creating Professional Color Palettes
A professional palette isn't a collection of nice colors — it's a system of assigned roles. Here's how to build one.
Palette structure
Every professional palette has these roles:
- Primary: 1 brand color, used for the most important CTAs and identity.
- Secondary: 1 supporting color for non-primary CTAs and accents.
- Neutrals: 6–9 grays from near-white to near-black.
- Semantic: Error (red), success (green), warning (amber), info (blue).
- Surface: 2–3 background tints (page, card, elevated).
Build a 9-step scale
For each color (primary, secondary, semantic), generate a 9-step scale. Most teams use 50–900 like Tailwind: 50 (lightest) through 900 (darkest). Assign each step a purpose: 50 for hover backgrounds, 500 for base, 700 for hover text.
Rules that make palettes look professional
- Consistent saturation and lightness across shades (hue-shift slightly for realism).
- Same number of steps for each color family.
- Every text/background pair must meet AA contrast.
- Don't introduce a new color — extend an existing scale.
Export as CSS variables
:root {
--brand-50: #f0fdfa;
--brand-100: #ccfbf1;
--brand-500: #14b8a6;
--brand-700: #0f766e;
--brand-900: #134e4a;
--neutral-0: #ffffff;
--neutral-900: #0f172a;
--success: #16a34a;
--error: #dc2626;
--warning: #d97706;
--info: #0284c7;
}