UI & Design SystemsBy PaletteKey Team 8 min read

Color Scales for UI Design: From 50 to 950

How to construct perceptual, accessible 10-step color scales for design systems.

Key Technical Takeaway

A 50-950 UI color scale provides a 10-step progression of tints and shades derived from a base brand hue. Constructing scales in OKLCH space ensures smooth lightness progression and avoids dirty mid-tones.

What is a 50-950 UI Color Scale?

Modern design frameworks (such as Tailwind CSS, Radix UI, and Material Design) organize colors into 10 numeric shade steps ranging from 50 (lightest tint) to 950 (darkest shade). Step 500 typically serves as the primary base brand accent.

The 10-Step Role Mapping Convention

Each shade step serves a specific structural role in component styling:

Shade StepTypical UI RoleLight Mode SurfaceDark Mode Surface
50Subtle background tintCard & alert backgroundsMuted text / highlight
100Hover state for bg tintSecondary surface / hoverSubtle dark border
200Light border / dividerCard borders & dividersDark surface background
300Disabled text / borderSecondary bordersDark card background
400Muted icon / placeholderForm placeholdersActive dark borders
500Primary Base AccentButtons, switches, badgesPrimary base accent
600Primary Hover StateButton hover stateButton hover state
700Active / Pressed StatePressed button stateActive text / badge
800High-contrast textDark body text on tint bgLight surface text
900 / 950Primary Dark Text / BgHeadings & dark surfacesDeep background canvas

Perceptual Lightness Curves in OKLCH Space

Linear RGB or HSL darkening produces uneven steps—colors often look muddy between 400 and 700. In OKLCH space, lightness (L) decreases along a smooth bezier curve from L ~0.98 at shade 50 down to L ~0.18 at shade 950, while chroma (C) peaks near shade 500 and gently tapers at the extremes.

/* Example OKLCH Lightness Progression for Blue Scale */
--blue-50:  oklch(0.97 0.03 250);
--blue-100: oklch(0.92 0.06 250);
--blue-200: oklch(0.84 0.11 250);
--blue-300: oklch(0.75 0.16 250);
--blue-400: oklch(0.66 0.20 250);
--blue-500: oklch(0.58 0.23 250); /* Base Accent */
--blue-600: oklch(0.50 0.21 250);
--blue-700: oklch(0.42 0.18 250);
--blue-800: oklch(0.32 0.14 250);
--blue-900: oklch(0.24 0.10 250);
--blue-950: oklch(0.16 0.06 250);

Best Practices for Scale Generation

Key guidelines for maintaining clean color scales:

  • Reduce Chroma at steps 50 and 950 to prevent gamut clipping and unnatural oversaturation.
  • Slightly rotate Hue angle (1-3°) between light and dark steps to simulate natural ambient light.
  • Verify that shade 700+ achieves at least 4.5:1 contrast against shade 50/100 backgrounds.

Put Theory into Practice with Free Color Tools

Apply the concepts from this guide directly in your web workflow with our interactive tools.