Awake Pink OCD for shadcn/ui

Awake Pink OCD is a shadcn/ui theme built around a vivid indigo primary color (#6d45f2) with vivid green accents (#45f26d). The light mode uses a neutral background (#f9f8fc). Dark mode keeps the vivid indigo primary (#6d45f2) on a neutral background (#020104).

Color palette

TokenLightDark
Background
#f9f8fcghostwhite
#020104black
Foreground
#060312black
#f6f6f9whitesmoke
Card
#f6f4fbghostwhite
#040208black
Card foreground
#05020dblack
#f9f9fbghostwhite
Popover
#f9f8fcghostwhite
#020104black
Popover foreground
#060312black
#f6f6f9whitesmoke
Primary
#6d45f2mediumslateblue
#6d45f2mediumslateblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#f26d45tomato
#f26d45tomato
Secondary foreground
#050100black
#050100black
Muted
#f6f0efwhitesmoke
#100b09black
Muted foreground
#645754dimgray
#ab9f9bdarkgray
Accent
#45f26dmediumseagreen
#45f26dmediumseagreen
Accent foreground
#000501black
#000501black
Destructive
#81120emaroon
#e72923crimson
Destructive foreground
#f9cac8pink
#ffffffwhite
Border
#e7e7e9lavender
#232225black
Input
#e7e7e9lavender
#232225black
Ring
#6d45f2mediumslateblue
#6d45f2mediumslateblue

Contrast

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

Light mode
Text on background19.25:1AAA
Text on card18.85:1AAA
Primary button5.54:1AA
Secondary button6.99:1AA
Muted text6.15:1AA
Accent13.87:1AAA
Destructive7.08:1AAA
Dark mode
Text on background19.29:1AAA
Text on card19.62:1AAA
Primary button5.54:1AA
Secondary button6.99:1AA
Muted text7.60:1AAA
Accent13.87:1AAA
Destructive4.44:1AA Large

CSS variables

Paste this into your globals.css to use Awake Pink OCD in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.98 0.006 296.974);
  --foreground: oklch(0.116 0.039 294.485);
  --muted: oklch(0.96 0.006 37.71);
  --muted-foreground: oklch(0.469 0.018 37.614);
  --popover: oklch(0.98 0.006 296.974);
  --popover-foreground: oklch(0.116 0.039 294.485);
  --card: oklch(0.971 0.009 296.919);
  --card-foreground: oklch(0.104 0.034 295.788);
  --border: oklch(0.929 0.003 297.019);
  --input: oklch(0.929 0.003 297.019);
  --primary: oklch(0.545 0.242 285.904);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.69 0.173 37.464);
  --secondary-foreground: oklch(0.086 0.018 51.324);
  --accent: oklch(0.847 0.225 147.153);
  --accent-foreground: oklch(0.1 0.024 152.126);
  --destructive: oklch(0.388 0.145 28.481);
  --destructive-foreground: oklch(0.878 0.054 20.544);
  --ring: oklch(0.545 0.242 285.904);
  --chart-1: oklch(0.545 0.242 285.904);
  --chart-2: oklch(0.69 0.173 37.464);
  --chart-3: oklch(0.847 0.225 147.153);
  --chart-4: oklch(0.71 0.16 37.632);
  --chart-5: oklch(0.542 0.248 285.32);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.078 0.017 296.526);
  --foreground: oklch(0.974 0.005 296.996);
  --muted: oklch(0.156 0.01 37.792);
  --muted-foreground: oklch(0.712 0.016 37.65);
  --popover: oklch(0.078 0.017 296.526);
  --popover-foreground: oklch(0.974 0.005 296.996);
  --card: oklch(0.098 0.021 296.526);
  --card-foreground: oklch(0.982 0.003 297.024);
  --border: oklch(0.254 0.007 296.601);
  --input: oklch(0.254 0.007 296.601);
  --primary: oklch(0.545 0.242 285.904);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.69 0.173 37.464);
  --secondary-foreground: oklch(0.086 0.018 51.324);
  --accent: oklch(0.847 0.225 147.153);
  --accent-foreground: oklch(0.1 0.024 152.126);
  --destructive: oklch(0.598 0.223 28.474);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.545 0.242 285.904);
  --chart-1: oklch(0.545 0.242 285.904);
  --chart-2: oklch(0.69 0.173 37.464);
  --chart-3: oklch(0.847 0.225 147.153);
  --chart-4: oklch(0.71 0.16 37.632);
  --chart-5: oklch(0.542 0.248 285.32);
}