PreviewingGo to this paletteOpen in generator
Code
/* Bright Spectrum — colorset.net */
:root {
--color-1: #EF4444;
--color-2: #F59E0B;
--color-3: #10B981;
--color-4: #3B82F6;
--color-5: #8B5CF6;
--color-bg: #FFF5EA;
--color-surface: #F7ECDF;
--color-border: #E0D2C4;
--color-text: #53477E;
--color-muted: #6D6882;
--color-primary: #8555EF;
--color-on-primary: #FFFFFF;
--color-accent: #A46800;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #100C1D;
--color-surface: #1A1628;
--color-border: #2E2A40;
--color-text: #C9AF92;
--color-muted: #927F69;
--color-primary: #8555EF;
--color-on-primary: #FFFFFF;
--color-accent: #F59E0B;
--color-on-accent: #100C1D;
}
}
Color values
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | adjusted for contrast · from #F59E0B | adjusted for contrast · from #8B5CF6 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B5CF6 | adjusted for contrast · from #F59E0B |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #8B5CF6 | adjusted for contrast · from #8B5CF6 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #EF4444 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.59:1 | AAA pass 4.5:1 | |
| Text on surface | 7.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 4.61:1 | AA pass 4.5:1 | |
| Primary on background | 4.29:1 | AA Large pass 3:1 | |
| Accent on background | 4.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.18:1 | AAA pass 4.5:1 | |
| Text on surface | 8.43:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 8.95:1 | AAA pass 4.5:1 | |
| Primary on background | 4.16:1 | AA Large pass 3:1 | |
| Accent on background | 8.95:1 | AAA pass 3:1 |
Every color on every color
Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.
| Background / Text | #EF4444 (Text 1) | #F59E0B (Text 2) | #10B981 (Text 3) | #3B82F6 (Text 4) | #8B5CF6 (Text 5) |
|---|---|---|---|---|---|
| #EF4444 | Same color | 1.75— | 1.48— | 1.02— | 1.13— |
| #F59E0B | 1.75— | Same color | 1.18— | 1.71— | 1.97— |
| #10B981 | 1.48— | 1.18— | Same color | 1.45— | 1.67— |
| #3B82F6 | 1.02— | 1.71— | 1.45— | Same color | 1.15— |
| #8B5CF6 | 1.13— | 1.97— | 1.67— | 1.15— | Same color |
Shades
Shades and tints (50–950)
