Extra-large for shadcn/ui

Extra-large is a shadcn/ui theme built around a vivid light purple primary color (#fe85d8) with vivid light green accents (#85feac). The light mode uses a neutral background (#fdfbfd). Dark mode keeps the vivid light purple primary (#fe85d8) on a neutral background (#040103).

Color palette

TokenLightDark
Background
#fdfbfdsnow
#040103black
Foreground
#000000black
#fdfcfdwhite
Card
#fcf8fbsnow
#070306black
Card foreground
#000000black
#ffffffwhite
Popover
#fcf8fbsnow
#070306black
Popover foreground
#000000black
#ffffffwhite
Primary
#fe85d8violet
#fe85d8violet
Primary foreground
#510038maroon
#510038maroon
Secondary
#85feacpalegreen
#85feacpalegreen
Secondary foreground
#00511adarkgreen
#00511adarkgreen
Muted
#e4f1e8honeydew
#0e1b12black
Muted foreground
#525b55dimgray
#a4ada7darkgray
Accent
#85feacpalegreen
#85feacpalegreen
Accent foreground
#00511adarkgreen
#00511adarkgreen
Destructive
#a63e11saddlebrown
#eb7542coral
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fe85d8violet
#fe85d8violet

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background20.46:1AAA
Text on card19.93:1AAA
Primary button6.81:1AA
Secondary button7.67:1AAA
Muted text6.04:1AA
Accent7.67:1AAA
Destructive6.31:1AA
Dark mode
Text on background20.27:1AAA
Text on card20.50:1AAA
Primary button6.81:1AA
Secondary button7.67:1AAA
Muted text7.70:1AAA
Accent7.67:1AAA
Destructive7.13:1AAA

CSS variables

Paste this into your globals.css to use Extra-large in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 336.617);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.946 0.018 156.177);
  --muted-foreground: oklch(0.462 0.014 155.931);
  --popover: oklch(0.983 0.006 336.675);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.983 0.006 336.675);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.777 0.175 340.621);
  --primary-foreground: oklch(0.29 0.122 346.125);
  --secondary: oklch(0.907 0.159 152.319);
  --secondary-foreground: oklch(0.38 0.112 147.262);
  --accent: oklch(0.907 0.159 152.319);
  --accent-foreground: oklch(0.38 0.112 147.262);
  --destructive: oklch(0.503 0.147 40.173);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.777 0.175 340.621);
  --chart-1: oklch(0.777 0.175 340.621);
  --chart-2: oklch(0.907 0.159 152.319);
  --chart-3: oklch(0.907 0.159 152.319);
  --chart-4: oklch(0.916 0.141 152.966);
  --chart-5: oklch(0.777 0.18 340.738);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.086 0.014 336.944);
  --foreground: oklch(0.992 0.001 336.578);
  --muted: oklch(0.206 0.026 153.782);
  --muted-foreground: oklch(0.738 0.013 156.213);
  --popover: oklch(0.109 0.018 336.944);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.109 0.018 336.944);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.777 0.175 340.621);
  --primary-foreground: oklch(0.29 0.122 346.125);
  --secondary: oklch(0.907 0.159 152.319);
  --secondary-foreground: oklch(0.38 0.112 147.262);
  --accent: oklch(0.907 0.159 152.319);
  --accent-foreground: oklch(0.38 0.112 147.262);
  --destructive: oklch(0.691 0.161 42.539);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.777 0.175 340.621);
  --chart-1: oklch(0.777 0.175 340.621);
  --chart-2: oklch(0.907 0.159 152.319);
  --chart-3: oklch(0.907 0.159 152.319);
  --chart-4: oklch(0.916 0.141 152.966);
  --chart-5: oklch(0.777 0.18 340.738);
}