PreviewingGo to this paletteOpen in generator
Code
/* Rainbow Bright — colorset.net */
:root {
--color-1: #00FF7F;
--color-2: #00BFFF;
--color-3: #9370DB;
--color-4: #FF1493;
--color-5: #FFD700;
--color-bg: #FBF7E8;
--color-surface: #F1EEDF;
--color-border: #DAD5C3;
--color-text: #54437A;
--color-muted: #6D6680;
--color-primary: #E20081;
--color-on-primary: #FFFFFF;
--color-accent: #008740;
--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: #E20081;
--color-on-primary: #FFFFFF;
--color-accent: #00FF7F;
--color-on-accent: #110C1D;
}
}
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 #FF1493 | adjusted for contrast · from #FF1493 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #00BFFF | from palette · color 1 |
| 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.61:1 | AA pass 4.5:1 | |
| Label on accent | 4.63:1 | AA pass 4.5:1 | |
| Primary on background | 4.30: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 | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 14.27:1 | AAA pass 4.5:1 | |
| Primary on background | 4.16:1 | AA Large pass 3:1 | |
| Accent on background | 14.27: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 | #00FF7F (Text 1) | #00BFFF (Text 2) | #9370DB (Text 3) | #FF1493 (Text 4) | #FFD700 (Text 5) |
|---|---|---|---|---|---|
| #00FF7F | Same color | 1.58— | 2.80— | 2.70— | 1.04— |
| #00BFFF | 1.58— | Same color | 1.77— | 1.71— | 1.51— |
| #9370DB | 2.80— | 1.77— | Same color | 1.03— | 2.68— |
| #FF1493 | 2.70— | 1.71— | 1.03— | Same color | 2.59— |
| #FFD700 | 1.04— | 1.51— | 2.68— | 2.59— | Same color |
Shades
Shades and tints (50–950)
