Theme Lab

Pick one base color and get a full Prism theme. It fills every slot the core themes fill, runs the contrast gate live, and nudges anything that would fail AA. Export it and an app is skinned.

13 of 13 contrast checks pass Nothing needed adjusting.

Accent ramp

  1. 100#EFEAFE
  2. 200#DCD1FD
  3. 300#C5B2FC
  4. 400#A78BFA
  5. 500#8A72D0
  6. 600#66559E
  7. 700#43376B

Live preview

Generated theme

One core, any skin

Every part here reads the theme the lab just made. Change the base color and the whole system moves together.

Form and states

SavedCheck thisTry againNote

Contrast gate

CheckRatioNeedsResult
Body text19.42 to 14.5Pass
Secondary text15.12 to 14.5Pass
Muted text9.02 to 14.5Pass
Muted text on secondary8.59 to 14.5Pass
Text on hover15.79 to 14.5Pass
Text on accent button7.06 to 14.5Pass
Accent shape7.14 to 13Pass
Input border3.35 to 13Pass
Focus ring10.31 to 13Pass
Success text11.14 to 14.5Pass
Warning text11.63 to 14.5Pass
Error text7.02 to 14.5Pass
Info text7.64 to 14.5Pass

Export

Export format
[data-theme="my-theme"] {
  --bg-primary: #0F0B18;
  --bg-secondary: #151122;
  --surface-base: #1A1528;
  --surface-hover: #251F37;
  --surface-pressed: #0B0911;
  --border-subtle: #2E293D;
  --text-primary: #FFFFFF;
  --text-secondary: #E4E2E9;
  --text-disabled: #605A72;
  --text-muted: #B3AEC2;
  --border-strong: #6A6085;
  --accent-primary: #A78BFA;
  --accent-on: #100C1D;
  --accent-secondary: #C5B2FC;
  --accent-tertiary: #DCD1FD;
  --focus-ring: #C5B2FC;
  --status-success: #4ADE80;
  --status-warning: #FBBF24;
  --status-error: #F87171;
  --status-info: #60A5FA;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.45);
  --shadow-md: 0 4px 14px rgba(0,0,0,.55);
  --shadow-lg: 0 14px 36px rgba(0,0,0,.65);
}

Paste into the app's styles, then set data-theme on the page.