Immaculate for shadcn/ui

Immaculate is a shadcn/ui theme built around a vivid orange primary color (#b03707) with vivid violet accents (#3707b0). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid orange primary (#b03707) on an orange-tinted background (#0c0603).

Color palette

TokenLightDark
Background
#ffffffwhite
#0c0603black
Foreground
#040201black
#ffffffwhite
Card
#ffffffwhite
#0c0603black
Card foreground
#040201black
#ffffffwhite
Popover
#ffffffwhite
#0c0603black
Popover foreground
#040201black
#ffffffwhite
Primary
#b03707firebrick
#b03707firebrick
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#07b037forestgreen
#07b037forestgreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#dae7ddgainsboro
#18251cblack
Muted foreground
#515251darkslategray
#adaeaddarkgray
Accent
#3707b0indigo
#3707b0indigo
Accent foreground
#f1ebfelavender
#f1ebfelavender
Destructive
#d24c0fchocolate
#ea5510orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b03707firebrick
#b03707firebrick

Contrast

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

Light mode
Text on background20.70:1AAA
Text on card20.70:1AAA
Primary button6.16:1AA
Secondary button2.87:1Fail
Muted text6.15:1AA
Accent9.89:1AAA
Destructive4.38:1AA Large
Dark mode
Text on background20.15:1AAA
Text on card20.15:1AAA
Primary button6.16:1AA
Secondary button2.87:1Fail
Muted text7.12:1AAA
Accent9.89:1AAA
Destructive3.62:1AA Large

CSS variables

Paste this into your globals.css to use Immaculate in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.089 0.015 54.774);
  --muted: oklch(0.916 0.019 154.799);
  --muted-foreground: oklch(0.438 0.003 155.073);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.089 0.015 54.774);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.089 0.015 54.774);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.512 0.165 37.628);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.66 0.202 145.685);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.373 0.222 279.346);
  --accent-foreground: oklch(0.951 0.026 298.841);
  --destructive: oklch(0.593 0.18 40.087);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.512 0.165 37.628);
  --chart-1: oklch(0.512 0.165 37.628);
  --chart-2: oklch(0.66 0.202 145.685);
  --chart-3: oklch(0.373 0.222 279.346);
  --chart-4: oklch(0.7 0.215 145.617);
  --chart-5: oklch(0.515 0.169 37.271);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.129 0.015 50.573);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.25 0.026 153.088);
  --muted-foreground: oklch(0.75 0.002 155.131);
  --popover: oklch(0.129 0.015 50.573);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.129 0.015 50.573);
  --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.512 0.165 37.628);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.66 0.202 145.685);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.373 0.222 279.346);
  --accent-foreground: oklch(0.951 0.026 298.841);
  --destructive: oklch(0.642 0.196 39.923);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.512 0.165 37.628);
  --chart-1: oklch(0.512 0.165 37.628);
  --chart-2: oklch(0.66 0.202 145.685);
  --chart-3: oklch(0.373 0.222 279.346);
  --chart-4: oklch(0.7 0.215 145.617);
  --chart-5: oklch(0.515 0.169 37.271);
}