Color
Prism color is built in layers, so a product can change its entire look by touching one of them.
Interactive explorer
The swatch grid below reads its values directly from tokens/colors.css — both the oklch source and a computed hex — so nothing here is hand-typed or able to drift. Click a tile to copy the token name; shift-click to copy the value. The semantic-role swatches re-resolve live as you change the theme and signature in the control bar, and each carries an AA contrast badge.
Ramps
The base layer is a set of perceptually even ramps defined in oklch, lightest at 50. Cobalt and the brand ramp run to 900; the status and accent ramps run to 700; gray runs 0 to 1000. Cobalt is the default brand hue; its 500 step, oklch(0.500 0.165 258), is the primary action color. Its chroma is capped so it reads as a considered ink, not a browser-default link blue. Working in oklch keeps steps visually consistent across hues — a 600 reads as the same "weight" whether it is cobalt or green.
Brand layer
--brand-50 through --brand-900 are aliases that point at a ramp. By default they map to cobalt. Remap them — at :root or any scope — and every component that references brand re-skins at once. This single indirection is what lets seven products share one component library.
Semantic roles
Components never reference a ramp step directly. They reference a role:
--accent,--accent-hover,--accent-active— the primary action.--text-primary,--text-secondary,--text-tertiary,--text-disabled— text on surfaces.--surface-page,--surface-card,--surface-inverse— backgrounds.--border-subtle,--border-default,--border-strong— separators.--positive,--notice,--negative,--info— semantic status. Reserve these for genuine confirm, caution and destructive meaning; they are not decoration.--focus-ring— the single most important affordance; never restyle it away.
Because roles sit between components and ramps, dark mode and product signatures only have to redefine roles, not rewrite components.
Dark mode
[data-theme="dark"] re-declares the full role set against a near-black base, with surfaces lifted a few lightness points off the background so elevation and shadows still read. Components do nothing special for dark mode — they inherit the redefined roles. Toggle the theme in the explorer above to see it.
To follow the operating system instead, set data-theme="system": light by default, dark under prefers-color-scheme: dark. It's opt-in, so pages without a data-theme stay light.
Industry and Enterprise are further themes, each with light, dark and system variants. They re-declare the same roles, so the rule holds: components inherit, and do nothing theme-specific. See Theming & signatures.
Contrast
Role pairings are chosen to clear WCAG AA at the sizes they are used. When you compose your own pairing, check it. The accent-on-surface and text-on-surface combinations that ship are safe; novel combinations are your responsibility.
Live specimens
The design system's own colour specimens, rendered live from the token CSS.
Role hues — who is using the product (avatar rings, "viewing as" banners, scope chips).
Surfaces & elevation
Backgrounds
Section accents
Product signatures
Gradients
Chart palette