Palette Library
Aurora
A vibrant palette for creative with a purple primary and a green accent. Text reaches 14.67:1 in light mode and 16.11:1 in dark mode.
How to use it
Aurora's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #fafbfe, cards #eaf0f9, and text #22262d at 14.67:1; buttons #4f46e5 with #fafbfe labels at 6.07:1; highlights #34d399 with #22262d text at 7.89:1.
- Dark mode: page #17191b, cards #20252d, and text #f1f5fb at 16.11:1; buttons #8d98ff with #17191b labels at 6.77:1; highlights #34d399 with #17191b text at 9.16:1.
- Links: #4f46e5 reaches 6.07:1 on the light page, and #8d98ff reaches 6.77:1 on the dark page.
- The accent as text: In light mode, keep #34d399 for fills and badges, not text: it reaches only 1.85:1 on the page.
Preview
The same palette on a small interface in light and dark.
Light mode
A place for your ideas
Start with colors that work together.
Your next project
A surface for the details that matter.
NewExplore your palette →
Dark mode
A place for your ideas
Start with colors that work together.
Your next project
A surface for the details that matter.
NewExplore your palette →
Roles
Five roles and their two foregrounds. Copy the exact HEX values.
| Role | Light | Dark |
|---|---|---|
| Background | #fafbfe | #17191b |
| Surface | #eaf0f9 | #20252d |
| Text | #22262d | #f1f5fb |
| Primary | #4f46e5 | #8d98ff |
| Primary Foreground | #fafbfe | #17191b |
| Accent | #34d399 | #34d399 |
| Accent Foreground | #22262d | #17191b |
Contrast matrix
Five required pairs per mode, judged on the final 8-bit colors.
Light mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 14.67:1AAArequired | 13.25:1AAArequired | 2.41:1Fail | 7.89:1AAA |
| Primary | 6.07:1AArequired | 5.48:1AA | 1.00:1Fail | 3.27:1AA large |
| Accent | 1.85:1Fail | 1.67:1Fail | 3.27:1AA large | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.10:1Fail | 6.07:1AArequired | 1.85:1Fail |
| Accent Foreground | 14.67:1AAA | 13.25:1AAA | 2.41:1Fail | 7.89:1AAArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 16.11:1AAArequired | 14.07:1AAArequired | 2.37:1Fail | 1.75:1Fail |
| Primary | 6.77:1AArequired | 5.91:1AA | 1.00:1Fail | 1.35:1Fail |
| Accent | 9.16:1AAA | 8.00:1AAA | 1.35:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.14:1Fail | 6.77:1AArequired | 9.16:1AAA |
| Accent Foreground | 1.00:1Fail | 1.14:1Fail | 6.77:1AA | 9.16:1AAArequired |
AAA: normal text ≥ 7:1. AA: normal text ≥ 4.5:1. AA large: large text ≥ 3:1 (24 px, or 18.66 px bold). UI: required component contrast ≥ 3:1. Fail: below 3:1. Required marks the five pairs ColorLint checks in each mode. Other pairs are informational.
ColorLint checks color contrast only. Passing pairs do not mean a page is accessible.
Exports
Both modes, with the exact values the Palette Generator exports.
CSS variables
/* ColorLint palette (v1). Light values in :root; dark values in .dark. */
:root {
--background: #fafbfe;
--surface: #eaf0f9;
--text: #22262d;
--primary: #4f46e5;
--primary-foreground: #fafbfe;
--accent: #34d399;
--accent-foreground: #22262d;
}
.dark {
--background: #17191b;
--surface: #20252d;
--text: #f1f5fb;
--primary: #8d98ff;
--primary-foreground: #17191b;
--accent: #34d399;
--accent-foreground: #17191b;
}
Tailwind v4
/* ColorLint palette for Tailwind CSS v4 (palette v1). */
/* Paste after @import "tailwindcss". Add the "dark" class to <html> for dark mode. */
@custom-variant dark (&:where(.dark, .dark *));
:root {
color-scheme: light;
--background: #fafbfe;
--surface: #eaf0f9;
--text: #22262d;
--primary: #4f46e5;
--primary-foreground: #fafbfe;
--accent: #34d399;
--accent-foreground: #22262d;
}
.dark {
color-scheme: dark;
--background: #17191b;
--surface: #20252d;
--text: #f1f5fb;
--primary: #8d98ff;
--primary-foreground: #17191b;
--accent: #34d399;
--accent-foreground: #17191b;
}
@theme inline {
--color-background: var(--background);
--color-surface: var(--surface);
--color-text: var(--text);
--color-primary: var(--primary);
--color-primary-foreground: var(--primary-foreground);
--color-accent: var(--accent);
--color-accent-foreground: var(--accent-foreground);
}
Compared with similar palettes
- Compared with Lavender Field, which shares the Creative topic: text reaches 14.67:1 in light mode against 19.07:1, both use a purple primary, and both use a green accent.
- Compared with Pixel Arcade, which shares the vibrant style: text reaches 14.67:1 in light mode against 15.08:1, both use a purple primary, and both use a green accent.