Generate feedback colors (success, warning, error, and info) for shadcn/ui
Go to generatorUsed by 4k+ developers. Want me to build your product next? Let's work together.
Blouse is a shadcn/ui theme built around a violet primary color (#6540c4) with green accents (#40c465). The light mode uses a neutral background (#f9f7fd). Dark mode keeps the violet primary (#6540c4) on a neutral background (#040407).
| Token | Light | Dark |
|---|---|---|
| Background | #f9f7fdghostwhite | #040407black |
| Foreground | #090415black | #fcfcfdwhite |
| Card | #f5f3fcghostwhite | #07050ablack |
| Card foreground | #070411black | #ffffffwhite |
| Popover | #f9f7fdghostwhite | #040407black |
| Popover foreground | #090415black | #fcfcfdwhite |
| Primary | #6540c4slateblue | #6540c4slateblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #c46540indianred | #c46540indianred |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e1dcdagainsboro | #25201eblack |
| Muted foreground | #66544ddimgray | #b2a099darkgray |
| Accent | #40c465mediumseagreen | #40c465mediumseagreen |
| Accent foreground | #0d2b16black | #0d2b16black |
| Destructive | #5d2609maroon | #db5a14chocolate |
| Destructive foreground | #f6bfa2lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6540c4slateblue | #6540c4slateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.97:1 | AAA |
| Text on card | 18.47:1 | AAA |
| Primary button | 6.80:1 | AA |
| Secondary button | 3.95:1 | AA Large |
| Muted text | 5.27:1 | AA |
| Accent | 6.78:1 | AA |
| Destructive | 7.35:1 | AAA |
| Text on background | 19.99:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 6.80:1 | AA |
| Secondary button | 3.95:1 | AA Large |
| Muted text | 6.45:1 | AA |
| Accent | 6.78:1 | AA |
| Destructive | 3.82:1 | AA Large |
Paste this into your globals.css to use Blouse in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.979 0.008 299.164);
--foreground: oklch(0.132 0.039 296.176);
--muted: oklch(0.899 0.006 43.065);
--muted-foreground: oklch(0.461 0.026 42.72);
--popover: oklch(0.979 0.008 299.164);
--popover-foreground: oklch(0.132 0.039 296.176);
--card: oklch(0.968 0.012 299.091);
--card-foreground: oklch(0.121 0.034 297.759);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.491 0.195 290.41);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.612 0.132 41.589);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.728 0.176 149.048);
--accent-foreground: oklch(0.259 0.053 150.36);
--destructive: oklch(0.344 0.09 44.805);
--destructive-foreground: oklch(0.848 0.075 49.618);
--ring: oklch(0.491 0.195 290.41);
--chart-1: oklch(0.491 0.195 290.41);
--chart-2: oklch(0.612 0.132 41.589);
--chart-3: oklch(0.728 0.176 149.048);
--chart-4: oklch(0.634 0.123 41.871);
--chart-5: oklch(0.488 0.204 289.658);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.107 0.011 299.324);
--foreground: oklch(0.992 0.001 299.291);
--muted: oklch(0.247 0.009 42.844);
--muted-foreground: oklch(0.72 0.023 42.869);
--popover: oklch(0.107 0.011 299.324);
--popover-foreground: oklch(0.992 0.001 299.291);
--card: oklch(0.123 0.012 299.324);
--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.491 0.195 290.41);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.612 0.132 41.589);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.728 0.176 149.048);
--accent-foreground: oklch(0.259 0.053 150.36);
--destructive: oklch(0.626 0.177 43.039);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.491 0.195 290.41);
--chart-1: oklch(0.491 0.195 290.41);
--chart-2: oklch(0.612 0.132 41.589);
--chart-3: oklch(0.728 0.176 149.048);
--chart-4: oklch(0.634 0.123 41.871);
--chart-5: oklch(0.488 0.204 289.658);
}