Light Periwinkle Mastodon is a shadcn/ui theme built around a vivid light indigo primary color (#c2c2fa) with vivid light violet accents (#dec2fa). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light indigo primary (#c2c2fa) on a neutral background (#010104).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010104black |
| Foreground | #000000black | #fcfcfdwhite |
| Card | #fcfcfcsnow | #030308black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfcfcsnow | #030308black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #c2c2falightsteelblue | #c2c2falightsteelblue |
| Primary foreground | #0a0a7fnavy | #0a0a7fnavy |
| Secondary | #c2defapowderblue | #c2defapowderblue |
| Secondary foreground | #0a457fmidnightblue | #0a457fmidnightblue |
| Muted | #d4d9ddgainsboro | #22262bdarkslategray |
| Muted foreground | #545c63dimgray | #9ca3abdarkgray |
| Accent | #dec2fathistle | #dec2fathistle |
| Accent foreground | #450a7findigo | #450a7findigo |
| Destructive | #910303darkred | #fb3737tomato |
| Destructive foreground | #fec8c8pink | #ffffffwhite |
| Border | #e9e9eclavender | #17171cblack |
| Input | #e9e9eclavender | #17171cblack |
| Ring | #c2c2falightsteelblue | #c2c2falightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 9.06:1 | AAA |
| Secondary button | 6.95:1 | AA |
| Muted text | 4.77:1 | AA |
| Accent | 8.21:1 | AAA |
| Destructive | 6.45:1 | AA |
| Text on background | 20.29:1 | AAA |
| Text on card | 20.62:1 | AAA |
| Primary button | 9.06:1 | AAA |
| Secondary button | 6.95:1 | AA |
| Muted text | 5.96:1 | AA |
| Accent | 8.21:1 | AAA |
| Destructive | 3.68:1 | AA Large |
Paste this into your globals.css to use Light Periwinkle Mastodon in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.882 0.008 247.917);
--muted-foreground: oklch(0.47 0.015 248.148);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.935 0.004 286.315);
--input: oklch(0.935 0.004 286.315);
--primary: oklch(0.832 0.079 284.565);
--primary-foreground: oklch(0.283 0.178 267.051);
--secondary: oklch(0.889 0.049 248.38);
--secondary-foreground: oklch(0.39 0.114 253.501);
--accent: oklch(0.855 0.082 307.389);
--accent-foreground: oklch(0.334 0.17 298.193);
--destructive: oklch(0.414 0.168 28.977);
--destructive-foreground: oklch(0.88 0.062 18.389);
--ring: oklch(0.832 0.079 284.565);
--chart-1: oklch(0.832 0.079 284.565);
--chart-2: oklch(0.889 0.049 248.38);
--chart-3: oklch(0.855 0.082 307.389);
--chart-4: oklch(0.914 0.038 248.239);
--chart-5: oklch(0.83 0.081 284.488);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.078 0.015 282.475);
--foreground: oklch(0.99 0.002 286.362);
--muted: oklch(0.267 0.011 248.233);
--muted-foreground: oklch(0.713 0.014 248.019);
--popover: oklch(0.098 0.018 282.475);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.098 0.018 282.475);
--card-foreground: oklch(1 0 180);
--border: oklch(0.208 0.008 285.685);
--input: oklch(0.208 0.008 285.685);
--primary: oklch(0.832 0.079 284.565);
--primary-foreground: oklch(0.283 0.178 267.051);
--secondary: oklch(0.889 0.049 248.38);
--secondary-foreground: oklch(0.39 0.114 253.501);
--accent: oklch(0.855 0.082 307.389);
--accent-foreground: oklch(0.334 0.17 298.193);
--destructive: oklch(0.645 0.23 26.609);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.832 0.079 284.565);
--chart-1: oklch(0.832 0.079 284.565);
--chart-2: oklch(0.889 0.049 248.38);
--chart-3: oklch(0.855 0.082 307.389);
--chart-4: oklch(0.914 0.038 248.239);
--chart-5: oklch(0.83 0.081 284.488);
}