Foundations

Color

Ink, bone and graphite carry the interface. Lavender (#B9A6FF) is the brand accent, a deliberate signal used for interaction, selection, annotation and calls to action. Signal yellow, the earlier default, remains an option in System Studio. All values on this page are read from the token source.

implemented

Primitive palettes

Raw colours with no meaning attached. Components never read these directly. Select a value to copy it.

ink

ink.300
ink.400
ink.500
ink.600
ink.700
ink.800
ink.900
ink.950

bone

bone.50
bone.100
bone.200
bone.300

signal

signal.400

ember

ember.400

acid

acid.400

rose

rose.400

white

white

black

black

cobalt

cobalt.400

violet

violet.400

emerald

emerald.400

cyan

cyan.400

crimson

crimson.400

amber

amber.400

lavender

lavender.400

sand

sand.400

alpha (borders)

bone100-14
bone100-55
ink950-14
ink950-55

Semantic roles and theme mappings

Roles describe what a colour is for. Dark and light themes define the same roles with different aliases; a theme switch changes the mapping, never a component.

RoleDarkLightAlias (dark → light)
{prim.color.lavender.400}
{prim.color.ink.950}
{prim.color.lavender.400}
{prim.color.ink.950} → {prim.color.bone.100}
{prim.color.ink.900} → {prim.color.bone.200}
{prim.color.ink.700} → {prim.color.bone.50}
{prim.color.bone.100} → {prim.color.ink.950}
{prim.color.ink.300} → {prim.color.ink.500}
{prim.color.ink.950} → {prim.color.bone.100}
{prim.color.alpha.bone100-14} → {prim.color.alpha.ink950-14}
{prim.color.alpha.bone100-55} → {prim.color.alpha.ink950-55}
{color.accent.readable} → {color.text.primary}
{color.accent.readable} → {color.text.primary}
{color.accent.readable} → {color.text.primary}

Accent options

Twelve curated accents are available in System Studio, and a visitor can also enter any colour. An accent is not one value but three roles, derived together by one function (src/studio/accent.ts, the same code the token compiler, the Studio and the pre-paint store use): color.accent.fill (the colour itself), color.accent.on-fill (ink, white or black, whichever reads best on it, at least 4.5:1) and color.accent.readable (the accent as text or focus on dark surfaces, tinted toward white until it reaches 4.5:1). Accent is not applied to every role: page, layer, text and border roles never change.

Accentfillon-fillreadable (dark)Fill on light pageFill on dark surface
lavender #B9A6FF#0C0C0C · 9.3:1#B9A6FF · 8.6:11.74:1 7.91:1
signal #FED60A#0C0C0C · 13.8:1#FED60A · 12.8:11.17:1 (pale)11.78:1
ember #FF6A2B#0C0C0C · 6.8:1#FF6A2B · 6.3:12.36:1 5.83:1
acid #C8F03C#0C0C0C · 14.9:1#C8F03C · 13.8:11.08:1 (pale)12.69:1
rose #FF5C93#0C0C0C · 6.7:1#FF5C93 · 6.2:12.40:1 5.72:1
cobalt #3B5BFF#FFFFFF · 5.1:1#627CFF · 5.0:14.19:1 3.28:1
violet #8B5CF6#0C0C0C · 4.6:1#976CF7 · 5.0:13.49:1 3.94:1
emerald #10B981#0C0C0C · 7.7:1#10B981 · 7.1:12.09:1 6.57:1
cyan #22D3EE#0C0C0C · 10.8:1#22D3EE · 10.0:11.49:1 9.22:1
crimson #E5173F#FFFFFF · 4.6:1#EC516F · 5.1:13.82:1 3.59:1
amber #FFB020#0C0C0C · 10.7:1#FFB020 · 9.9:11.51:1 9.12:1
sand #D6C3A1#0C0C0C · 11.3:1#D6C3A1 · 10.5:11.42:1 9.67:1

In the light theme the accent is a marker fill, never small text: lavender on bone measures about 1.7:1 and cannot reach 4.5:1. The role color.accent.text therefore maps to ink in light and to the readable accent in dark. Pale accents (Signal, Acid) have little presence as a fill on a light page; Randomize Design avoids pairing them with the light theme (minimum 1.4:1), but a visitor can still choose them.

Custom colours. The Studio accepts a colour picker value or a 3 or 6 digit hex (validated; the site keeps the last valid colour). The three roles are derived immediately and written as inline custom properties on <html>, so every component follows. The automated test derives 5,000 random colours and the lowest ratio for on-fill or readable text is 4.50:1. Limits are shown in the picker: a pale colour on a light page, a dark colour on a dark page.

Contrast

Computed from the resolved token values (WCAG 2.2 relative luminance), for the default accent. The build also runs npm run tokens:check, which checks every theme against every curated accent (16 pairs × 2 themes × 12 accents = 384 checks).

PairMinimumDarkLight
Body text on page
color.text.primary on color.bg.page
4.5:116.12:1 Pass16.12:1 Pass
Body text on layer
color.text.primary on color.bg.layer
4.5:114.91:1 Pass14.43:1 Pass
Secondary text on page
color.text.secondary on color.bg.page
4.5:19.14:1 Pass5.84:1 Pass
Secondary text on raised
color.text.secondary on color.bg.raised
4.5:17.17:1 Pass6.50:1 Pass
Text on accent fill (buttons, highlights)
color.accent.on-fill on color.accent.fill
4.5:19.28:1 Pass9.28:1 Pass
Accent text on page
color.accent.text on color.bg.page
4.5:19.28:1 Pass16.12:1 Pass
Annotation text on page
color.annotation on color.bg.page
4.5:19.28:1 Pass16.12:1 Pass
Focus ring on page (non-text)
color.focus.ring on color.bg.page
3:19.28:1 Pass16.12:1 Pass
Control border on page (non-text)
color.border.strong on color.bg.page
3:15.33:1 Pass4.10:1 Pass
Beyond Design System v0.4.0Human-led. AI-assisted. System-driven.