Plörpöl for shadcn/ui

Plörpöl is a shadcn/ui theme built around a vivid violet primary color (#8800ff) with vivid light violet accents (#f2e6ff). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid violet primary (#8800ff) on a neutral background (#121212).

Color palette

TokenLightDark
Background
#ffffffwhite
#121212black
Foreground
#2d2237darkslategray
#fcfcfdwhite
Card
#fcfcfcsnow
#0a080ablack
Card foreground
#0b0411black
#ffffffwhite
Popover
#ffffffwhite
#11001fblack
Popover foreground
#0d0515black
#fbfbfbsnow
Primary
#8800ffdarkviolet
#8800ffdarkviolet
Primary foreground
#ffffffwhite
#fdebeblinen
Secondary
#e7ccfflavender
#4e3762darkslateblue
Secondary foreground
#353131darkslategray
#b3a5c0darkgray
Muted
#f0eff3whitesmoke
#241e29black
Muted foreground
#615c5cdimgray
#a19ea3darkgray
Accent
#f2e6fflavender
#2c1f37darkslategray
Accent foreground
#302727darkslategray
#c5b4d5thistle
Destructive
#ff3a09orangered
#f64013orangered
Destructive foreground
#ffffffwhite
#230d0dblack
Border
#f5eaffghostwhite
#1b1b1bblack
Input
#cececelightgrey
#312f33darkslategray
Ring
#b27ee0mediumpurple
#8800ffdarkviolet

Contrast

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

Light mode
Text on background15.04:1AAA
Text on card19.76:1AAA
Primary button6.01:1AA
Secondary button8.82:1AAA
Muted text5.74:1AA
Accent12.15:1AAA
Destructive3.58:1AA Large
Dark mode
Text on background18.32:1AAA
Text on card19.95:1AAA
Primary button5.23:1AA
Secondary button4.42:1AA Large
Muted text6.12:1AA
Accent7.97:1AAA
Destructive5.00:1AA

CSS variables

Paste this into your globals.css to use Plörpöl in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.275 0.041 308.287);
  --muted: oklch(0.954 0.006 301.669);
  --muted-foreground: oklch(0.478 0.007 17.412);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.139 0.038 308.285);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.128 0.034 309.681);
  --border: oklch(0.951 0.031 309.466);
  --input: oklch(0.851 0 180);
  --primary: oklch(0.539 0.294 296.537);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.883 0.075 308.728);
  --secondary-foreground: oklch(0.317 0.006 17.455);
  --accent: oklch(0.942 0.035 306.077);
  --accent-foreground: oklch(0.283 0.013 17.948);
  --destructive: oklch(0.652 0.236 33.112);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.682 0.149 307.48);
  --chart-1: oklch(0.539 0.294 296.537);
  --chart-2: oklch(0.883 0.075 308.728);
  --chart-3: oklch(0.942 0.035 306.077);
  --chart-4: oklch(0.917 0.053 309.012);
  --chart-5: oklch(0.543 0.298 296.002);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.181 0 195.945);
  --foreground: oklch(0.992 0.001 309.778);
  --muted: oklch(0.248 0.022 308.923);
  --muted-foreground: oklch(0.703 0.009 309.66);
  --popover: oklch(0.141 0.071 306.468);
  --popover-foreground: oklch(0.988 0 171.87);
  --card: oklch(0.138 0.004 321.902);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.221 0.002 309.706);
  --input: oklch(0.309 0.007 309.552);
  --primary: oklch(0.539 0.294 296.537);
  --primary-foreground: oklch(0.955 0.019 17.496);
  --secondary: oklch(0.382 0.076 307.717);
  --secondary-foreground: oklch(0.742 0.042 309.223);
  --accent: oklch(0.267 0.047 307.977);
  --accent-foreground: oklch(0.795 0.05 309.169);
  --destructive: oklch(0.642 0.224 33.791);
  --destructive-foreground: oklch(0.194 0.038 21.241);
  --ring: oklch(0.539 0.294 296.537);
  --chart-1: oklch(0.539 0.294 296.537);
  --chart-2: oklch(0.382 0.076 307.717);
  --chart-3: oklch(0.267 0.047 307.977);
  --chart-4: oklch(0.407 0.082 307.683);
  --chart-5: oklch(0.543 0.298 296.002);
}