Bright Ube Iguana for shadcn/ui

Bright Ube Iguana is a shadcn/ui theme built around a light violet primary color (#d2a2eb) with light green accents (#bceba2). The light mode uses a neutral background (#fbf8fc). Dark mode keeps the light violet primary (#d2a2eb) on a violet-tinted background (#09040b).

Color palette

TokenLightDark
Background
#fbf8fcghostwhite
#09040bblack
Foreground
#030104black
#fdfcfdwhite
Card
#fbf8fcghostwhite
#09040bblack
Card foreground
#030104black
#fdfcfdwhite
Popover
#fbf8fcghostwhite
#09040bblack
Popover foreground
#030104black
#fdfcfdwhite
Primary
#d2a2ebplum
#d2a2ebplum
Primary foreground
#37104cmidnightblue
#37104cmidnightblue
Secondary
#bceba2palegreen
#bceba2palegreen
Secondary foreground
#254c10darkgreen
#254c10darkgreen
Muted
#eff3ecwhitesmoke
#0e130cblack
Muted foreground
#475341darkslategray
#b2beacdarkgray
Accent
#bceba2palegreen
#bceba2palegreen
Accent foreground
#254c10darkgreen
#254c10darkgreen
Destructive
#691907maroon
#f04019orangered
Destructive foreground
#f9b8a9lightpink
#ffffffwhite
Border
#e3e1e5gainsboro
#1f1d20black
Input
#e3e1e5gainsboro
#1f1d20black
Ring
#d2a2ebplum
#d2a2ebplum

Contrast

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

Light mode
Text on background19.66:1AAA
Text on card19.66:1AAA
Primary button7.56:1AAA
Secondary button7.35:1AAA
Muted text7.25:1AAA
Accent7.35:1AAA
Destructive7.13:1AAA
Dark mode
Text on background19.82:1AAA
Text on card19.82:1AAA
Primary button7.56:1AAA
Secondary button7.35:1AAA
Muted text9.72:1AAA
Accent7.35:1AAA
Destructive3.83:1AA Large

CSS variables

Paste this into your globals.css to use Bright Ube Iguana in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.007 314.18);
  --foreground: oklch(0.084 0.016 315.899);
  --muted: oklch(0.959 0.01 134.281);
  --muted-foreground: oklch(0.426 0.032 134.667);
  --popover: oklch(0.981 0.007 314.18);
  --popover-foreground: oklch(0.084 0.016 315.899);
  --card: oklch(0.981 0.007 314.18);
  --card-foreground: oklch(0.084 0.016 315.899);
  --border: oklch(0.913 0.005 314.189);
  --input: oklch(0.913 0.005 314.189);
  --primary: oklch(0.782 0.113 313.407);
  --primary-foreground: oklch(0.271 0.107 310.952);
  --secondary: oklch(0.89 0.108 134.992);
  --secondary-foreground: oklch(0.373 0.098 136.834);
  --accent: oklch(0.89 0.108 134.992);
  --accent-foreground: oklch(0.373 0.098 136.834);
  --destructive: oklch(0.348 0.117 33.751);
  --destructive-foreground: oklch(0.838 0.08 33.002);
  --ring: oklch(0.782 0.113 313.407);
  --chart-1: oklch(0.782 0.113 313.407);
  --chart-2: oklch(0.89 0.108 134.992);
  --chart-3: oklch(0.89 0.108 134.992);
  --chart-4: oklch(0.905 0.094 134.859);
  --chart-5: oklch(0.78 0.118 313.365);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.123 0.02 315.561);
  --foreground: oklch(0.992 0.002 314.211);
  --muted: oklch(0.178 0.016 134.754);
  --muted-foreground: oklch(0.787 0.028 134.421);
  --popover: oklch(0.123 0.02 315.561);
  --popover-foreground: oklch(0.992 0.002 314.211);
  --card: oklch(0.123 0.02 315.561);
  --card-foreground: oklch(0.992 0.002 314.211);
  --border: oklch(0.234 0.008 314.036);
  --input: oklch(0.234 0.008 314.036);
  --primary: oklch(0.782 0.113 313.407);
  --primary-foreground: oklch(0.271 0.107 310.952);
  --secondary: oklch(0.89 0.108 134.992);
  --secondary-foreground: oklch(0.373 0.098 136.834);
  --accent: oklch(0.89 0.108 134.992);
  --accent-foreground: oklch(0.373 0.098 136.834);
  --destructive: oklch(0.632 0.218 33.439);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.782 0.113 313.407);
  --chart-1: oklch(0.782 0.113 313.407);
  --chart-2: oklch(0.89 0.108 134.992);
  --chart-3: oklch(0.89 0.108 134.992);
  --chart-4: oklch(0.905 0.094 134.859);
  --chart-5: oklch(0.78 0.118 313.365);
}