PP
← Back to lab

Design system

Live-tweak this site’s design tokens

OKLCH sliders for background, foreground, accent, and AI accent. Copy the result as a CSS block.

Background

--color-bg: oklch(0.20 0.040 260)

Foreground

--color-fg: oklch(0.97 0.010 250)

Accent

--color-accent: oklch(0.75 0.100 175)

AI accent

--color-ai: oklch(0.80 0.150 80)

Preview frame

10KAI emphasis

A sample card on the background.

Body text against the live background token. Watch the contrast as you move the lightness slider on the bg, the fg, and the two accents.

ai pulse

OKLCH is the only color space worth using for design systems. Hue stays perceptually constant when you change lightness, which means a primary button at 0.55 L looks the same hue as the same token at 0.78 L. RGB ramps shift hue across lightness.