Possible is a shadcn/ui theme built around a vivid light indigo primary color (#ededfd) with vivid light violet accents (#f4edfd). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the vivid light indigo primary (#ededfd) on a neutral background (#020208).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbfeghostwhite | #020208black |
| Foreground | #010104black | #f6f6f9whitesmoke |
| Card | #fbfbfeghostwhite | #020208black |
| Card foreground | #010104black | #f6f6f9whitesmoke |
| Popover | #fbfbfeghostwhite | #020208black |
| Popover foreground | #010104black | #f6f6f9whitesmoke |
| Primary | #ededfdlavender | #ededfdlavender |
| Primary foreground | #373de6royalblue | #373de6royalblue |
| Secondary | #edf5fdaliceblue | #edf5fdaliceblue |
| Secondary foreground | #092b49midnightblue | #092b49midnightblue |
| Muted | #d1dfeagainsboro | #15222eblack |
| Muted foreground | #484a4bdarkslategray | #b4b5b7silver |
| Accent | #f4edfdwhitesmoke | #f4edfdwhitesmoke |
| Accent foreground | #5714a3rebeccapurple | #5714a3rebeccapurple |
| Destructive | #a23d06saddlebrown | #f65f0eorangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ededfdlavender | #ededfdlavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.17:1 | AAA |
| Text on card | 20.17:1 | AAA |
| Primary button | 6.11:1 | AA |
| Secondary button | 13.14:1 | AAA |
| Muted text | 6.54:1 | AA |
| Accent | 9.02:1 | AAA |
| Destructive | 6.54:1 | AA |
| Text on background | 19.15:1 | AAA |
| Text on card | 19.15:1 | AAA |
| Primary button | 6.11:1 | AA |
| Secondary button | 13.14:1 | AAA |
| Muted text | 7.88:1 | AAA |
| Accent | 9.02:1 | AAA |
| Destructive | 6.57:1 | AA |
Paste this into your globals.css to use Possible in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.004 284.737);
--foreground: oklch(0.072 0.019 277.836);
--muted: oklch(0.896 0.022 244.39);
--muted-foreground: oklch(0.408 0.003 244.184);
--popover: oklch(0.989 0.004 284.737);
--popover-foreground: oklch(0.072 0.019 277.836);
--card: oklch(0.989 0.004 284.737);
--card-foreground: oklch(0.072 0.019 277.836);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.951 0.021 284.42);
--primary-foreground: oklch(0.485 0.246 271.195);
--secondary: oklch(0.967 0.013 244.262);
--secondary-foreground: oklch(0.282 0.067 249.145);
--accent: oklch(0.956 0.023 306.824);
--accent-foreground: oklch(0.399 0.201 296.498);
--destructive: oklch(0.495 0.146 41.997);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.951 0.021 284.42);
--chart-1: oklch(0.951 0.021 284.42);
--chart-2: oklch(0.967 0.013 244.262);
--chart-3: oklch(0.956 0.023 306.824);
--chart-4: oklch(0.992 0.003 244.131);
--chart-5: oklch(0.951 0.021 284.404);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.095 0.022 279.093);
--foreground: oklch(0.974 0.004 284.74);
--muted: oklch(0.245 0.029 245.77);
--muted-foreground: oklch(0.773 0.003 244.132);
--popover: oklch(0.095 0.022 279.093);
--popover-foreground: oklch(0.974 0.004 284.74);
--card: oklch(0.095 0.022 279.093);
--card-foreground: oklch(0.974 0.004 284.74);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.951 0.021 284.42);
--primary-foreground: oklch(0.485 0.246 271.195);
--secondary: oklch(0.967 0.013 244.262);
--secondary-foreground: oklch(0.282 0.067 249.145);
--accent: oklch(0.956 0.023 306.824);
--accent-foreground: oklch(0.399 0.201 296.498);
--destructive: oklch(0.674 0.2 41.731);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.951 0.021 284.42);
--chart-1: oklch(0.951 0.021 284.42);
--chart-2: oklch(0.967 0.013 244.262);
--chart-3: oklch(0.956 0.023 306.824);
--chart-4: oklch(0.992 0.003 244.131);
--chart-5: oklch(0.951 0.021 284.404);
}