Vibrant Purple Jackal for shadcn/ui

Vibrant Purple Jackal is a shadcn/ui theme built around a vivid purple primary color (#b113dd) with muted light purple accents (#dbcede). The light mode uses a neutral background (#fbf8fc). Dark mode keeps the vivid purple primary (#b113dd) on a neutral background (#030104).

Color palette

TokenLightDark
Background
#fbf8fcghostwhite
#030104black
Foreground
#000000black
#f8f6f9whitesmoke
Card
#f9f4fawhitesmoke
#070308black
Card foreground
#000000black
#fbf9fbsnow
Popover
#f9f4fawhitesmoke
#070308black
Popover foreground
#000000black
#fbf9fbsnow
Primary
#b113dddarkviolet
#b113dddarkviolet
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#dbcedegainsboro
#1f1721black
Secondary foreground
#443149darkslategray
#bda8c2silver
Muted
#efe9f1lavender
#140e16black
Muted foreground
#5e5e5edimgray
#a1a1a1darkgray
Accent
#dbcedegainsboro
#1f1721black
Accent foreground
#443149darkslategray
#bda8c2silver
Destructive
#c34109firebrick
#e54c0borangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#ededeewhitesmoke
#1a191ablack
Input
#ededeewhitesmoke
#1a191ablack
Ring
#b113dddarkviolet
#b113dddarkviolet

Contrast

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

Light mode
Text on background19.91:1AAA
Text on card19.39:1AAA
Primary button5.24:1AA
Secondary button7.80:1AAA
Muted text5.44:1AA
Accent7.80:1AAA
Destructive5.15:1AA
Dark mode
Text on background19.32:1AAA
Text on card19.59:1AAA
Primary button5.24:1AA
Secondary button7.93:1AAA
Muted text7.36:1AAA
Accent7.93:1AAA
Destructive3.90:1AA Large

CSS variables

Paste this into your globals.css to use Vibrant Purple Jackal in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.006 318.888);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.942 0.012 318.886);
  --muted-foreground: oklch(0.483 0 180);
  --popover: oklch(0.973 0.01 318.887);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.973 0.01 318.887);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.946 0.001 318.89);
  --input: oklch(0.946 0.001 318.89);
  --primary: oklch(0.568 0.27 316.393);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.867 0.026 318.88);
  --secondary-foreground: oklch(0.345 0.049 318.818);
  --accent: oklch(0.867 0.026 318.88);
  --accent-foreground: oklch(0.345 0.049 318.818);
  --destructive: oklch(0.555 0.175 38.552);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.568 0.27 316.393);
  --chart-1: oklch(0.568 0.27 316.393);
  --chart-2: oklch(0.867 0.026 318.88);
  --chart-3: oklch(0.867 0.026 318.88);
  --chart-4: oklch(0.892 0.021 318.882);
  --chart-5: oklch(0.572 0.274 316.195);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.085 0.017 320.572);
  --foreground: oklch(0.975 0.005 318.889);
  --muted: oklch(0.175 0.019 318.845);
  --muted-foreground: oklch(0.708 0 158.199);
  --popover: oklch(0.107 0.021 320.572);
  --popover-foreground: oklch(0.983 0.004 318.889);
  --card: oklch(0.107 0.021 320.572);
  --card-foreground: oklch(0.983 0.004 318.889);
  --border: oklch(0.215 0.002 318.887);
  --input: oklch(0.215 0.002 318.887);
  --primary: oklch(0.568 0.27 316.393);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.219 0.023 318.846);
  --secondary-foreground: oklch(0.757 0.044 318.869);
  --accent: oklch(0.219 0.023 318.846);
  --accent-foreground: oklch(0.757 0.044 318.869);
  --destructive: oklch(0.624 0.199 38.291);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.568 0.27 316.393);
  --chart-1: oklch(0.568 0.27 316.393);
  --chart-2: oklch(0.219 0.023 318.846);
  --chart-3: oklch(0.219 0.023 318.846);
  --chart-4: oklch(0.25 0.028 318.841);
  --chart-5: oklch(0.572 0.274 316.195);
}