Organic is a shadcn/ui theme built around a light violet primary color (#e8d4f2) with light teal accents (#d4f2e8). The light mode uses a neutral background (#fbf8fc). Dark mode keeps the light violet primary (#e8d4f2) on a neutral background (#030104).
| Token | Light | Dark |
|---|---|---|
| Background | #fbf8fcghostwhite | #030104black |
| Foreground | #100316black | #fbf8fcghostwhite |
| Card | #fbf8fcghostwhite | #030104black |
| Card foreground | #100316black | #fbf8fcghostwhite |
| Popover | #fbf8fcghostwhite | #030104black |
| Popover foreground | #100316black | #fbf8fcghostwhite |
| Primary | #e8d4f2lavender | #e8d4f2lavender |
| Primary foreground | #582370darkslateblue | #582370darkslateblue |
| Secondary | #f2e8d4antiquewhite | #f2e8d4antiquewhite |
| Secondary foreground | #231b0bblack | #231b0bblack |
| Muted | #f6f4eewhitesmoke | #110e09black |
| Muted foreground | #63625fdimgray | #a09f9cdarkgray |
| Accent | #d4f2e8gainsboro | #d4f2e8gainsboro |
| Accent foreground | #0b231bblack | #0b231bblack |
| Destructive | #bb1111firebrick | #ed3b3bcrimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e8d4f2lavender | #e8d4f2lavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.03:1 | AAA |
| Text on card | 19.03:1 | AAA |
| Primary button | 8.03:1 | AAA |
| Secondary button | 14.02:1 | AAA |
| Muted text | 5.53:1 | AA |
| Accent | 13.87:1 | AAA |
| Destructive | 6.57:1 | AA |
| Text on background | 19.71:1 | AAA |
| Text on card | 19.71:1 | AAA |
| Primary button | 8.03:1 | AAA |
| Secondary button | 14.02:1 | AAA |
| Muted text | 7.27:1 | AAA |
| Accent | 13.87:1 | AAA |
| Destructive | 3.97:1 | AA Large |
Paste this into your globals.css to use Organic in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.006 315.404);
--foreground: oklch(0.14 0.049 315.103);
--muted: oklch(0.967 0.007 86.036);
--muted-foreground: oklch(0.495 0.004 86.04);
--popover: oklch(0.982 0.006 315.404);
--popover-foreground: oklch(0.14 0.049 315.103);
--card: oklch(0.982 0.006 315.404);
--card-foreground: oklch(0.14 0.049 315.103);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.896 0.045 315.218);
--primary-foreground: oklch(0.372 0.132 313.26);
--secondary: oklch(0.934 0.028 86.09);
--secondary-foreground: oklch(0.228 0.03 85.149);
--accent: oklch(0.936 0.033 174.552);
--accent-foreground: oklch(0.234 0.034 170.075);
--destructive: oklch(0.503 0.198 28.341);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.896 0.045 315.218);
--chart-1: oklch(0.896 0.045 315.218);
--chart-2: oklch(0.934 0.028 86.09);
--chart-3: oklch(0.936 0.033 174.552);
--chart-4: oklch(0.952 0.021 86.076);
--chart-5: oklch(0.895 0.047 315.205);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.084 0.016 317.089);
--foreground: oklch(0.982 0.006 315.401);
--muted: oklch(0.166 0.011 86.165);
--muted-foreground: oklch(0.702 0.004 86.029);
--popover: oklch(0.084 0.016 317.089);
--popover-foreground: oklch(0.982 0.006 315.401);
--card: oklch(0.084 0.016 317.089);
--card-foreground: oklch(0.982 0.006 315.401);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.896 0.045 315.218);
--primary-foreground: oklch(0.372 0.132 313.26);
--secondary: oklch(0.934 0.028 86.09);
--secondary-foreground: oklch(0.228 0.03 85.149);
--accent: oklch(0.936 0.033 174.552);
--accent-foreground: oklch(0.234 0.034 170.075);
--destructive: oklch(0.624 0.214 26.006);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.896 0.045 315.218);
--chart-1: oklch(0.896 0.045 315.218);
--chart-2: oklch(0.934 0.028 86.09);
--chart-3: oklch(0.936 0.033 174.552);
--chart-4: oklch(0.952 0.021 86.076);
--chart-5: oklch(0.895 0.047 315.205);
}