Memorable for shadcn/ui

Memorable is a shadcn/ui theme built around a vivid indigo primary color (#6a6af0) with vivid violet accents (#ad6af0). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the vivid indigo primary (#6a6af0) on a neutral background (#020208).

Color palette

TokenLightDark
Background
#fbfbfeghostwhite
#020208black
Foreground
#000000black
#f5f5f9whitesmoke
Card
#fbfbfeghostwhite
#020208black
Card foreground
#000000black
#f5f5f9whitesmoke
Popover
#fbfbfeghostwhite
#020208black
Popover foreground
#000000black
#f5f5f9whitesmoke
Primary
#6a6af0mediumslateblue
#6a6af0mediumslateblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#6aadf0cornflowerblue
#6aadf0cornflowerblue
Secondary foreground
#041425black
#041425black
Muted
#cedbe8gainsboro
#172431darkslategray
Muted foreground
#4e5255darkslategray
#aaadb1darkgray
Accent
#ad6af0mediumpurple
#ad6af0mediumpurple
Accent foreground
#000000black
#000000black
Destructive
#910c08darkred
#e9140cred
Destructive foreground
#fcd0cfpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#6a6af0mediumslateblue
#6a6af0mediumslateblue

Contrast

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

Light mode
Text on background20.29:1AAA
Text on card20.29:1AAA
Primary button4.23:1AA Large
Secondary button7.85:1AAA
Muted text5.62:1AA
Accent6.12:1AA
Destructive6.64:1AA
Dark mode
Text on background19.01:1AAA
Text on card19.01:1AAA
Primary button4.23:1AA Large
Secondary button7.85:1AAA
Muted text7.01:1AAA
Accent6.12:1AA
Destructive4.61:1AA

CSS variables

Paste this into your globals.css to use Memorable in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.004 286.319);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.886 0.023 248.082);
  --muted-foreground: oklch(0.435 0.007 247.984);
  --popover: oklch(0.988 0.004 286.319);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.988 0.004 286.319);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.598 0.196 278.677);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.732 0.119 249.754);
  --secondary-foreground: oklch(0.188 0.042 249.056);
  --accent: oklch(0.657 0.197 304.625);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.418 0.164 29.107);
  --destructive-foreground: oklch(0.895 0.05 20.455);
  --ring: oklch(0.598 0.196 278.677);
  --chart-1: oklch(0.598 0.196 278.677);
  --chart-2: oklch(0.732 0.119 249.754);
  --chart-3: oklch(0.657 0.197 304.625);
  --chart-4: oklch(0.756 0.108 249.428);
  --chart-5: oklch(0.594 0.203 278.26);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.094 0.022 281.233);
  --foreground: oklch(0.973 0.005 286.305);
  --muted: oklch(0.254 0.03 249.099);
  --muted-foreground: oklch(0.747 0.006 247.905);
  --popover: oklch(0.094 0.022 281.233);
  --popover-foreground: oklch(0.973 0.005 286.305);
  --card: oklch(0.094 0.022 281.233);
  --card-foreground: oklch(0.973 0.005 286.305);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.598 0.196 278.677);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.732 0.119 249.754);
  --secondary-foreground: oklch(0.188 0.042 249.056);
  --accent: oklch(0.657 0.197 304.625);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.59 0.236 29.241);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.598 0.196 278.677);
  --chart-1: oklch(0.598 0.196 278.677);
  --chart-2: oklch(0.732 0.119 249.754);
  --chart-3: oklch(0.657 0.197 304.625);
  --chart-4: oklch(0.756 0.108 249.428);
  --chart-5: oklch(0.594 0.203 278.26);
}