PreviewingGo to this paletteOpen in generator
Code
/* Magenta Rave — colorset.net */
:root {
--color-1: #8B008B;
--color-2: #C71585;
--color-3: #FF00FF;
--color-4: #FF1493;
--color-5: #FF69B4;
--color-bg: #FFF3F8;
--color-surface: #F9E8EF;
--color-border: #E3CFD6;
--color-text: #6C3E6A;
--color-muted: #776275;
--color-primary: #D000D0;
--color-on-primary: #FFFFFF;
--color-accent: #E20081;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #180917;
--color-surface: #221322;
--color-border: #392738;
--color-text: #C19BAA;
--color-muted: #987B87;
--color-primary: #FF00FF;
--color-on-primary: #180917;
--color-accent: #E20081;
--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 #FF69B4 | adjusted for contrast · from #8B008B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B008B | adjusted for contrast · from #FF69B4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF00FF | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C71585 | adjusted for contrast · from #C71585 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.66:1 | AAA pass 4.5:1 | |
| Text on surface | 7.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.13:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 4.61:1 | AA pass 4.5:1 | |
| Primary on background | 4.23:1 | AA Large pass 3:1 | |
| Accent on background | 4.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.83:1 | AAA pass 4.5:1 | |
| Text on surface | 7.21:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 6.14:1 | AA pass 4.5:1 | |
| Label on accent | 4.61:1 | AA pass 4.5:1 | |
| Primary on background | 6.14:1 | AA pass 3:1 | |
| Accent on background | 4.17: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 | #8B008B (Text 1) | #C71585 (Text 2) | #FF00FF (Text 3) | #FF1493 (Text 4) | #FF69B4 (Text 5) |
|---|---|---|---|---|---|
| #8B008B | Same color | 1.57— | 2.71— | 2.34— | 3.21AA Large |
| #C71585 | 1.57— | Same color | 1.73— | 1.49— | 2.05— |
| #FF00FF | 2.71— | 1.73— | Same color | 1.16— | 1.18— |
| #FF1493 | 2.34— | 1.49— | 1.16— | Same color | 1.37— |
| #FF69B4 | 3.21AA Large | 2.05— | 1.18— | 1.37— | Same color |
Shades
Shades and tints (50–950)
