Crown Chakra Centipede for shadcn/ui

Crown Chakra Centipede is a shadcn/ui theme built around a violet primary color (#6c1fd1) with muted light violet accents (#d7cee4). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the violet primary (#6c1fd1) on a violet-tinted background (#07030c).

Color palette

TokenLightDark
Background
#fcfbfewhite
#07030cblack
Foreground
#000000black
#f7f5fawhitesmoke
Card
#faf7fdghostwhite
#090410black
Card foreground
#000000black
#faf8fcghostwhite
Popover
#fcfbfewhite
#07030cblack
Popover foreground
#000000black
#f7f5fawhitesmoke
Primary
#6c1fd1blueviolet
#6c1fd1blueviolet
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#eae7eelavender
#141217black
Secondary foreground
#504261darkslategray
#aca4b6darkgray
Muted
#d7cae7thistle
#241835midnightblue
Muted foreground
#5f526fdimgray
#9c90addarkgray
Accent
#d7cee4gainsboro
#231d2ablack
Accent foreground
#3d2d52darkslategray
#bbb0c9silver
Destructive
#650e01maroon
#fc2403orangered
Destructive foreground
#fea79alightsalmon
#ffffffwhite
Border
#e3e1e5gainsboro
#232226black
Input
#e3e1e5gainsboro
#232226black
Ring
#6c1fd1blueviolet
#6c1fd1blueviolet

Contrast

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

Light mode
Text on background20.37:1AAA
Text on card19.77:1AAA
Primary button7.63:1AAA
Secondary button7.47:1AAA
Muted text4.62:1AA
Accent8.14:1AAA
Destructive6.92:1AA
Dark mode
Text on background18.84:1AAA
Text on card19.14:1AAA
Primary button7.63:1AAA
Secondary button7.73:1AAA
Muted text5.58:1AA
Accent7.94:1AAA
Destructive3.88:1AA Large

CSS variables

Paste this into your globals.css to use Crown Chakra Centipede in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.004 305.686);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.859 0.042 305.09);
  --muted-foreground: oklch(0.464 0.049 304.329);
  --popover: oklch(0.99 0.004 305.686);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.98 0.008 305.631);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.913 0.005 305.67);
  --input: oklch(0.913 0.005 305.67);
  --primary: oklch(0.475 0.239 294.494);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.932 0.011 305.583);
  --secondary-foreground: oklch(0.406 0.054 303.956);
  --accent: oklch(0.865 0.032 305.248);
  --accent-foreground: oklch(0.334 0.066 302.966);
  --destructive: oklch(0.328 0.121 32.36);
  --destructive-foreground: oklch(0.811 0.105 29.127);
  --ring: oklch(0.475 0.239 294.494);
  --chart-1: oklch(0.475 0.239 294.494);
  --chart-2: oklch(0.932 0.011 305.583);
  --chart-3: oklch(0.865 0.032 305.248);
  --chart-4: oklch(0.958 0.007 305.645);
  --chart-5: oklch(0.475 0.245 293.799);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.116 0.025 306.766);
  --foreground: oklch(0.972 0.007 305.637);
  --muted: oklch(0.239 0.056 302.384);
  --muted-foreground: oklch(0.673 0.045 304.858);
  --popover: oklch(0.116 0.025 306.766);
  --popover-foreground: oklch(0.972 0.007 305.637);
  --card: oklch(0.128 0.029 305.321);
  --card-foreground: oklch(0.982 0.005 305.672);
  --border: oklch(0.254 0.008 305.301);
  --input: oklch(0.254 0.008 305.301);
  --primary: oklch(0.475 0.239 294.494);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.187 0.009 305.067);
  --secondary-foreground: oklch(0.732 0.027 305.25);
  --accent: oklch(0.243 0.027 304.266);
  --accent-foreground: oklch(0.775 0.037 305.099);
  --destructive: oklch(0.633 0.246 30.906);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.475 0.239 294.494);
  --chart-1: oklch(0.475 0.239 294.494);
  --chart-2: oklch(0.187 0.009 305.067);
  --chart-3: oklch(0.243 0.027 304.266);
  --chart-4: oklch(0.219 0.013 304.979);
  --chart-5: oklch(0.475 0.245 293.799);
}