PreviewingGo to this paletteOpen in generator
Code
/* Spectrum Bright — colorset.net */
:root {
--color-1: #87CEEB;
--color-2: #FFD700;
--color-3: #32CD32;
--color-4: #FF69B4;
--color-5: #9370DB;
--color-bg: #FBF7E8;
--color-surface: #F1EEDF;
--color-border: #DAD5C3;
--color-text: #54437A;
--color-muted: #6D6680;
--color-primary: #008808;
--color-on-primary: #FFFFFF;
--color-accent: #8461CA;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #110C1D;
--color-surface: #1B1628;
--color-border: #302A40;
--color-text: #E4DAB5;
--color-muted: #898267;
--color-primary: #32CD32;
--color-on-primary: #110C1D;
--color-accent: #8461CA;
--color-on-accent: #FFFFFF;
}
}
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 #FFD700 | adjusted for contrast · from #9370DB |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #9370DB | adjusted for contrast · from #FFD700 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #32CD32 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9370DB | adjusted for contrast · from #9370DB |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.95:1 | AAA pass 4.5:1 | |
| Text on surface | 7.33:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 4.62:1 | AA pass 4.5:1 | |
| Primary on background | 4.33:1 | AA Large pass 3:1 | |
| Accent on background | 4.31:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.70:1 | AAA pass 4.5:1 | |
| Text on surface | 12.58:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 9.06:1 | AAA pass 4.5:1 | |
| Label on accent | 4.62:1 | AA pass 4.5:1 | |
| Primary on background | 9.06:1 | AAA pass 3:1 | |
| Accent on background | 4.15:1 | AA Large 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 | #87CEEB (Text 1) | #FFD700 (Text 2) | #32CD32 (Text 3) | #FF69B4 (Text 4) | #9370DB (Text 5) |
|---|---|---|---|---|---|
| #87CEEB | Same color | 1.24— | 1.22— | 1.52— | 2.16— |
| #FFD700 | 1.24— | Same color | 1.51— | 1.89— | 2.68— |
| #32CD32 | 1.22— | 1.51— | Same color | 1.25— | 1.78— |
| #FF69B4 | 1.52— | 1.89— | 1.25— | Same color | 1.42— |
| #9370DB | 2.16— | 2.68— | 1.78— | 1.42— | Same color |
Shades
Shades and tints (50–950)
