Royal Raul Hedgehog for shadcn/ui

Royal Raul Hedgehog is a shadcn/ui theme built around a violet primary color (#8b78ba) with green accents (#a7ba78). The light mode uses a neutral background (#ffffff). Dark mode keeps the violet primary (#8b78ba) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#080510black
#f7f6f8whitesmoke
Card
#ffffffwhite
#000000black
Card foreground
#080510black
#f7f6f8whitesmoke
Popover
#ffffffwhite
#000000black
Popover foreground
#080510black
#f7f6f8whitesmoke
Primary
#8b78bamediumpurple
#8b78bamediumpurple
Primary foreground
#000000black
#000000black
Secondary
#a7ba78darkkhaki
#a7ba78darkkhaki
Secondary foreground
#000000black
#000000black
Muted
#e7e8e3gainsboro
#1b1c17black
Muted foreground
#4b4b48darkslategray
#b6b7b4silver
Accent
#a7ba78darkkhaki
#a7ba78darkkhaki
Accent foreground
#000000black
#000000black
Destructive
#88370csaddlebrown
#dd5a13chocolate
Destructive foreground
#fbdccbbisque
#ffffffwhite
Border
#e5e4e7gainsboro
#201f23black
Input
#e5e4e7gainsboro
#201f23black
Ring
#8b78bamediumpurple
#8b78bamediumpurple

Contrast

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

Light mode
Text on background20.20:1AAA
Text on card20.20:1AAA
Primary button5.50:1AA
Secondary button9.91:1AAA
Muted text7.11:1AAA
Accent9.91:1AAA
Destructive6.21:1AA
Dark mode
Text on background19.49:1AAA
Text on card19.49:1AAA
Primary button5.50:1AA
Secondary button9.91:1AAA
Muted text8.49:1AAA
Accent9.91:1AAA
Destructive3.80:1AA Large

CSS variables

Paste this into your globals.css to use Royal Raul Hedgehog in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.126 0.028 298.047);
  --muted: oklch(0.929 0.008 119.446);
  --muted-foreground: oklch(0.413 0.005 119.51);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.126 0.028 298.047);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.126 0.028 298.047);
  --border: oklch(0.921 0.004 299.239);
  --input: oklch(0.921 0.004 299.239);
  --primary: oklch(0.617 0.099 296.425);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.758 0.09 121.448);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.758 0.09 121.448);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.444 0.122 43.765);
  --destructive-foreground: oklch(0.915 0.041 50.122);
  --ring: oklch(0.617 0.099 296.425);
  --chart-1: oklch(0.617 0.099 296.425);
  --chart-2: oklch(0.758 0.09 121.448);
  --chart-3: oklch(0.758 0.09 121.448);
  --chart-4: oklch(0.776 0.083 121.223);
  --chart-5: oklch(0.611 0.108 296.098);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.975 0.002 299.261);
  --muted: oklch(0.224 0.011 120.142);
  --muted-foreground: oklch(0.776 0.004 119.398);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.975 0.002 299.261);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.975 0.002 299.261);
  --border: oklch(0.244 0.006 298.856);
  --input: oklch(0.244 0.006 298.856);
  --primary: oklch(0.617 0.099 296.425);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.758 0.09 121.448);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.758 0.09 121.448);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.627 0.179 42.859);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.617 0.099 296.425);
  --chart-1: oklch(0.617 0.099 296.425);
  --chart-2: oklch(0.758 0.09 121.448);
  --chart-3: oklch(0.758 0.09 121.448);
  --chart-4: oklch(0.776 0.083 121.223);
  --chart-5: oklch(0.611 0.108 296.098);
}