Outrageous for shadcn/ui

Outrageous is a shadcn/ui theme built around a muted blue primary color (#939bbe) with muted violet accents (#a093be). The light mode uses a neutral background (#f8f9fb). Dark mode keeps the muted blue primary (#939bbe) on a blue-tinted background (#05060b).

Color palette

TokenLightDark
Background
#f8f9fbghostwhite
#05060bblack
Foreground
#050814black
#fcfcfdwhite
Card
#f5f6fawhitesmoke
#06080eblack
Card foreground
#040610black
#ffffffwhite
Popover
#f8f9fbghostwhite
#05060bblack
Popover foreground
#050814black
#fcfcfdwhite
Primary
#939bbedarkgray
#939bbedarkgray
Primary foreground
#0b0d13black
#0b0d13black
Secondary
#93b0bedarkgray
#93b0bedarkgray
Secondary foreground
#0b1113black
#0b1113black
Muted
#e1eaeflavender
#10191eblack
Muted foreground
#4e5356darkslategray
#a9afb1darkgray
Accent
#a093bedarkgray
#a093bedarkgray
Accent foreground
#0e0b13black
#0e0b13black
Destructive
#be4c13chocolate
#e9601cchocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#939bbedarkgray
#939bbedarkgray

Contrast

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

Light mode
Text on background18.97:1AAA
Text on card18.70:1AAA
Primary button7.06:1AAA
Secondary button8.34:1AAA
Muted text6.41:1AA
Accent6.87:1AA
Destructive4.95:1AA
Dark mode
Text on background19.77:1AAA
Text on card20.03:1AAA
Primary button7.06:1AAA
Secondary button8.34:1AAA
Muted text7.98:1AAA
Accent6.87:1AA
Destructive6.13:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.003 276.121);
  --foreground: oklch(0.138 0.028 270.39);
  --muted: oklch(0.933 0.011 227.008);
  --muted-foreground: oklch(0.438 0.008 227.101);
  --popover: oklch(0.982 0.003 276.121);
  --popover-foreground: oklch(0.138 0.028 270.39);
  --card: oklch(0.973 0.005 276.098);
  --card-foreground: oklch(0.128 0.024 269.63);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.694 0.053 275.042);
  --primary-foreground: oklch(0.16 0.013 274.909);
  --secondary: oklch(0.74 0.038 227.625);
  --secondary-foreground: oklch(0.172 0.01 227.715);
  --accent: oklch(0.689 0.064 299.205);
  --accent-foreground: oklch(0.159 0.016 299.036);
  --destructive: oklch(0.561 0.16 42.18);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.694 0.053 275.042);
  --chart-1: oklch(0.694 0.053 275.042);
  --chart-2: oklch(0.74 0.038 227.625);
  --chart-3: oklch(0.689 0.064 299.205);
  --chart-4: oklch(0.764 0.035 227.513);
  --chart-5: oklch(0.69 0.059 274.877);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.013 272.04);
  --foreground: oklch(0.992 0.001 276.154);
  --muted: oklch(0.208 0.016 228.141);
  --muted-foreground: oklch(0.75 0.007 226.978);
  --popover: oklch(0.122 0.013 272.04);
  --popover-foreground: oklch(0.992 0.001 276.154);
  --card: oklch(0.135 0.015 272.635);
  --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.694 0.053 275.042);
  --primary-foreground: oklch(0.16 0.013 274.909);
  --secondary: oklch(0.74 0.038 227.625);
  --secondary-foreground: oklch(0.172 0.01 227.715);
  --accent: oklch(0.689 0.064 299.205);
  --accent-foreground: oklch(0.159 0.016 299.036);
  --destructive: oklch(0.654 0.185 42.397);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.694 0.053 275.042);
  --chart-1: oklch(0.694 0.053 275.042);
  --chart-2: oklch(0.74 0.038 227.625);
  --chart-3: oklch(0.689 0.064 299.205);
  --chart-4: oklch(0.764 0.035 227.513);
  --chart-5: oklch(0.69 0.059 274.877);
}