PreviewingGo to this paletteOpen in generator
Code
/* Arcade Rainbow — colorset.net */
:root {
--color-1: #FF4080;
--color-2: #80FF40;
--color-3: #4080FF;
--color-4: #FF8040;
--color-5: #80FF80;
--color-bg: #EFFBEE;
--color-surface: #E6F1E5;
--color-border: #CCD9CB;
--color-text: #334E80;
--color-muted: #5E6B83;
--color-primary: #E11869;
--color-on-primary: #FFFFFF;
--color-accent: #388700;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #070F1F;
--color-surface: #10192A;
--color-border: #232E42;
--color-text: #CBE7C9;
--color-muted: #738872;
--color-primary: #FF4080;
--color-on-primary: #070F1F;
--color-accent: #80FF40;
--color-on-accent: #070F1F;
}
}
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 #80FF80 | adjusted for contrast · from #4080FF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4080FF | adjusted for contrast · from #80FF80 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF4080 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF8040 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.75:1 | AAA pass 4.5:1 | |
| Text on surface | 7.11:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 4.53:1 | AA pass 4.5:1 | |
| Primary on background | 4.34:1 | AA Large pass 3:1 | |
| Accent on background | 4.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.41:1 | AAA pass 4.5:1 | |
| Text on surface | 13.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 5.74:1 | AA pass 4.5:1 | |
| Label on accent | 14.85:1 | AAA pass 4.5:1 | |
| Primary on background | 5.74:1 | AA pass 3:1 | |
| Accent on background | 14.85: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 | #FF4080 (Text 1) | #80FF40 (Text 2) | #4080FF (Text 3) | #FF8040 (Text 4) | #80FF80 (Text 5) |
|---|---|---|---|---|---|
| #FF4080 | Same color | 2.59— | 1.10— | 1.34— | 2.63— |
| #80FF40 | 2.59— | Same color | 2.83— | 1.94— | 1.01— |
| #4080FF | 1.10— | 2.83— | Same color | 1.46— | 2.88— |
| #FF8040 | 1.34— | 1.94— | 1.46— | Same color | 1.97— |
| #80FF80 | 2.63— | 1.01— | 2.88— | 1.97— | Same color |
Shades
Shades and tints (50–950)
