PreviewingGo to this paletteOpen in generator
Code
/* Rave Neon — colorset.net */
:root {
--color-1: #8000FF;
--color-2: #FF4080;
--color-3: #80FF40;
--color-4: #40FF80;
--color-5: #FF8040;
--color-bg: #F1FAED;
--color-surface: #E7F1E4;
--color-border: #CDD9C9;
--color-text: #53457C;
--color-muted: #6C6781;
--color-primary: #8000FF;
--color-on-primary: #FFFFFF;
--color-accent: #388700;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #100C1D;
--color-surface: #1A1628;
--color-border: #2F2A40;
--color-text: #CCE4C4;
--color-muted: #75866F;
--color-primary: #8428FF;
--color-on-primary: #FFFFFF;
--color-accent: #80FF40;
--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 #40FF80 | adjusted for contrast · from #8000FF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8000FF | adjusted for contrast · from #40FF80 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | adjusted for contrast · from #8000FF |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF8040 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.82:1 | AAA pass 4.5:1 | |
| Text on surface | 7.21:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 6.25:1 | AA pass 4.5:1 | |
| Label on accent | 4.53:1 | AA pass 4.5:1 | |
| Primary on background | 5.84:1 | AA pass 3:1 | |
| Accent on background | 4.24:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.15:1 | AAA pass 4.5:1 | |
| Text on surface | 13.00:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 5.63:1 | AA pass 4.5:1 | |
| Label on accent | 14.92:1 | AAA pass 4.5:1 | |
| Primary on background | 3.41:1 | AA Large pass 3:1 | |
| Accent on background | 14.92: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 | #8000FF (Text 1) | #FF4080 (Text 2) | #80FF40 (Text 3) | #40FF80 (Text 4) | #FF8040 (Text 5) |
|---|---|---|---|---|---|
| #8000FF | Same color | 1.87— | 4.85AA | 4.71AA | 2.50— |
| #FF4080 | 1.87— | Same color | 2.59— | 2.51— | 1.34— |
| #80FF40 | 4.85AA | 2.59— | Same color | 1.03— | 1.94— |
| #40FF80 | 4.71AA | 2.51— | 1.03— | Same color | 1.88— |
| #FF8040 | 2.50— | 1.34— | 1.94— | 1.88— | Same color |
Shades
Shades and tints (50–950)
