PreviewingGo to this paletteOpen in generator
Code
/* Deep Magenta — colorset.net */
:root {
--color-1: #8B008B;
--color-2: #A01AA0;
--color-3: #B533B5;
--color-4: #CA4DCA;
--color-5: #DF66DF;
--color-bg: #FFF2FE;
--color-surface: #F5E9F4;
--color-border: #DECFDD;
--color-text: #6C3E6A;
--color-muted: #7A6578;
--color-primary: #B533B5;
--color-on-primary: #FFFFFF;
--color-accent: #8B008B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #180917;
--color-surface: #221322;
--color-border: #392738;
--color-text: #B99DB8;
--color-muted: #927C91;
--color-primary: #B533B5;
--color-on-primary: #FFFFFF;
--color-accent: #DF66DF;
--color-on-accent: #180917;
}
}
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 #DF66DF | adjusted for contrast · from #8B008B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B008B | adjusted for contrast · from #DF66DF |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 1 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.65:1 | AAA pass 4.5:1 | |
| Text on surface | 7.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.89:1 | AA pass 4.5:1 | |
| Label on primary | 5.12:1 | AA pass 4.5:1 | |
| Label on accent | 8.50:1 | AAA pass 4.5:1 | |
| Primary on background | 4.72:1 | AA pass 3:1 | |
| Accent on background | 7.85:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.87:1 | AAA pass 4.5:1 | |
| Text on surface | 7.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 5.12:1 | AA pass 4.5:1 | |
| Label on accent | 6.52:1 | AA pass 4.5:1 | |
| Primary on background | 3.77:1 | AA Large pass 3:1 | |
| Accent on background | 6.52:1 | AA 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) | #A01AA0 (Text 2) | #B533B5 (Text 3) | #CA4DCA (Text 4) | #DF66DF (Text 5) |
|---|---|---|---|---|---|
| #8B008B | Same color | 1.28— | 1.66— | 2.20— | 2.88— |
| #A01AA0 | 1.28— | Same color | 1.30— | 1.72— | 2.26— |
| #B533B5 | 1.66— | 1.30— | Same color | 1.32— | 1.73— |
| #CA4DCA | 2.20— | 1.72— | 1.32— | Same color | 1.31— |
| #DF66DF | 2.88— | 2.26— | 1.73— | 1.31— | Same color |
Shades
Shades and tints (50–950)
