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.
Primitive palettes
Raw colours with no meaning attached. Components never read these directly. Select a value to copy it.
ink
bone
signal
ember
acid
rose
white
black
cobalt
violet
emerald
cyan
crimson
amber
lavender
sand
alpha (borders)
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.
| Role | Dark | Light | Alias (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.
| Accent | fill | on-fill | readable (dark) | Fill on light page | Fill on dark surface |
|---|---|---|---|---|---|
| lavender | #B9A6FF | #0C0C0C · 9.3:1 | #B9A6FF · 8.6:1 | 1.74:1 | 7.91:1 |
| signal | #FED60A | #0C0C0C · 13.8:1 | #FED60A · 12.8:1 | 1.17:1 (pale) | 11.78:1 |
| ember | #FF6A2B | #0C0C0C · 6.8:1 | #FF6A2B · 6.3:1 | 2.36:1 | 5.83:1 |
| acid | #C8F03C | #0C0C0C · 14.9:1 | #C8F03C · 13.8:1 | 1.08:1 (pale) | 12.69:1 |
| rose | #FF5C93 | #0C0C0C · 6.7:1 | #FF5C93 · 6.2:1 | 2.40:1 | 5.72:1 |
| cobalt | #3B5BFF | #FFFFFF · 5.1:1 | #627CFF · 5.0:1 | 4.19:1 | 3.28:1 |
| violet | #8B5CF6 | #0C0C0C · 4.6:1 | #976CF7 · 5.0:1 | 3.49:1 | 3.94:1 |
| emerald | #10B981 | #0C0C0C · 7.7:1 | #10B981 · 7.1:1 | 2.09:1 | 6.57:1 |
| cyan | #22D3EE | #0C0C0C · 10.8:1 | #22D3EE · 10.0:1 | 1.49:1 | 9.22:1 |
| crimson | #E5173F | #FFFFFF · 4.6:1 | #EC516F · 5.1:1 | 3.82:1 | 3.59:1 |
| amber | #FFB020 | #0C0C0C · 10.7:1 | #FFB020 · 9.9:1 | 1.51:1 | 9.12:1 |
| sand | #D6C3A1 | #0C0C0C · 11.3:1 | #D6C3A1 · 10.5:1 | 1.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).
| Pair | Minimum | Dark | Light |
|---|---|---|---|
Body text on pagecolor.text.primary on color.bg.page | 4.5:1 | 16.12:1 Pass | 16.12:1 Pass |
Body text on layercolor.text.primary on color.bg.layer | 4.5:1 | 14.91:1 Pass | 14.43:1 Pass |
Secondary text on pagecolor.text.secondary on color.bg.page | 4.5:1 | 9.14:1 Pass | 5.84:1 Pass |
Secondary text on raisedcolor.text.secondary on color.bg.raised | 4.5:1 | 7.17:1 Pass | 6.50:1 Pass |
Text on accent fill (buttons, highlights)color.accent.on-fill on color.accent.fill | 4.5:1 | 9.28:1 Pass | 9.28:1 Pass |
Accent text on pagecolor.accent.text on color.bg.page | 4.5:1 | 9.28:1 Pass | 16.12:1 Pass |
Annotation text on pagecolor.annotation on color.bg.page | 4.5:1 | 9.28:1 Pass | 16.12:1 Pass |
Focus ring on page (non-text)color.focus.ring on color.bg.page | 3:1 | 9.28:1 Pass | 16.12:1 Pass |
Control border on page (non-text)color.border.strong on color.bg.page | 3:1 | 5.33:1 Pass | 4.10:1 Pass |