Vague is a shadcn/ui theme built around a light purple primary color (#f1d0eb) with light pink accents (#f1d0da). The light mode uses a neutral background (#fefbfd). Dark mode keeps the light purple primary (#f1d0eb) on a purple-tinted background (#0a0509).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfdsnow | #0a0509black |
| Foreground | #0c030bblack | #fdfcfdwhite |
| Card | #fdf7fcsnow | #0e060dblack |
| Card foreground | #080207black | #ffffffwhite |
| Popover | #fdf7fcsnow | #0e060dblack |
| Popover foreground | #080207black | #ffffffwhite |
| Primary | #f1d0ebmistyrose | #f1d0ebmistyrose |
| Primary foreground | #6e2160purple | #6e2160purple |
| Secondary | #e6d0f1lavender | #e6d0f1lavender |
| Secondary foreground | #56216eindigo | #56216eindigo |
| Muted | #dcd8dfgainsboro | #252027darkslategray |
| Muted foreground | #48454adarkslategray | #b9b5basilver |
| Accent | #f1d0dagainsboro | #f1d0dagainsboro |
| Accent foreground | #6e2139brown | #6e2139brown |
| Destructive | #5c130amaroon | #e83d26orangered |
| Destructive foreground | #f5aca3lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f1d0ebmistyrose | #f1d0ebmistyrose |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.78:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 7.29:1 | AAA |
| Secondary button | 7.97:1 | AAA |
| Muted text | 6.71:1 | AA |
| Accent | 7.61:1 | AAA |
| Destructive | 7.26:1 | AAA |
| Text on background | 19.75:1 | AAA |
| Text on card | 19.95:1 | AAA |
| Primary button | 7.29:1 | AAA |
| Secondary button | 7.97:1 | AAA |
| Muted text | 7.86:1 | AAA |
| Accent | 7.61:1 | AAA |
| Destructive | 4.09:1 | AA Large |
Paste this into your globals.css to use Vague in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.004 331.463);
--foreground: oklch(0.123 0.029 332.837);
--muted: oklch(0.888 0.01 315.38);
--muted-foreground: oklch(0.395 0.011 315.313);
--popover: oklch(0.982 0.008 331.52);
--popover-foreground: oklch(0.107 0.025 332.453);
--card: oklch(0.982 0.008 331.52);
--card-foreground: oklch(0.107 0.025 332.453);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.893 0.051 332.195);
--primary-foreground: oklch(0.391 0.133 335.953);
--secondary: oklch(0.886 0.051 315.187);
--secondary-foreground: oklch(0.363 0.133 313.149);
--accent: oklch(0.888 0.039 356.86);
--accent-foreground: oklch(0.375 0.111 4.818);
--destructive: oklch(0.316 0.107 30.967);
--destructive-foreground: oklch(0.812 0.088 27.527);
--ring: oklch(0.893 0.051 332.195);
--chart-1: oklch(0.893 0.051 332.195);
--chart-2: oklch(0.886 0.051 315.187);
--chart-3: oklch(0.888 0.039 356.86);
--chart-4: oklch(0.914 0.038 315.254);
--chart-5: oklch(0.892 0.054 332.238);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.127 0.017 332.061);
--foreground: oklch(0.991 0.003 331.448);
--muted: oklch(0.253 0.014 315.203);
--muted-foreground: oklch(0.777 0.009 315.378);
--popover: oklch(0.14 0.02 332.841);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.14 0.02 332.841);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.893 0.051 332.195);
--primary-foreground: oklch(0.391 0.133 335.953);
--secondary: oklch(0.886 0.051 315.187);
--secondary-foreground: oklch(0.363 0.133 313.149);
--accent: oklch(0.888 0.039 356.86);
--accent-foreground: oklch(0.375 0.111 4.818);
--destructive: oklch(0.616 0.211 31);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.893 0.051 332.195);
--chart-1: oklch(0.893 0.051 332.195);
--chart-2: oklch(0.886 0.051 315.187);
--chart-3: oklch(0.888 0.039 356.86);
--chart-4: oklch(0.914 0.038 315.254);
--chart-5: oklch(0.892 0.054 332.238);
}