Color palette
The raw color palette — every color with its HEX and OKLCH, grouped by hue. Just the colors; for how these map to roles and themes see Tokens.
The scale
Section titled “The scale”An 11-weight scale per hue, from 50 (lightest) to 950 (darkest). Pick a
semantic role and step up or down in weight for hover, active, borders and
surfaces. The scale is authored to keep perceptually even steps (checked in
OKLCH), so a weight change reads as a predictable lightness change.
- Brand — the primary is Dioxazine Purple; step to
600for hover. - Feedback — Cobalt Blue (info), Sap Green (success), Burnt Orange (warning), Alizarin Red (danger).
- Neutrals — the Grey ramp carries text, surfaces and borders;
White sits apart at the light end and Black,
#121212, a near black, at the dark end. Warm Grey stays in the palette as a hue of its own; it no longer carries the interface, because its warmth read as brown in the dark theme.
Where the values live
Section titled “Where the values live”The palette feeds the primitive tokens in tokens.css. The brand and feedback
base tokens reference a raw named scale drawn from these hues; the neutrals map
the Grey ramp onto --ds-colors-palette-grey-0 … --ds-colors-palette-grey-950, and Black onto
--ds-colors-palette-black. Each of those
tokens, with its current value, is listed in the token catalog: the raw scales
under Palette, and the
base tokens that point into them under
Brand and
Feedback. Read the
values there rather than from a copy on this page, so what you read is what
ships.
To retheme, set your own values for the same names; the semantic
--ds-color-* roles re-derive automatically:
/* example */:root { --ds-colors-palette-grey-0: #ffffff; --ds-colors-palette-grey-900: #101828; --ds-colors-palette-dioxazine-purple-500: #1f6feb;}See Tokens for the role mapping.