PreviewingGo to this paletteOpen in generator
Code
/* Magenta Orchid — colorset.net */
:root {
--color-1: #8B008B;
--color-2: #9932CC;
--color-3: #BA55D3;
--color-4: #DA70D6;
--color-5: #DDA0DD;
--color-bg: #FEF2FE;
--color-surface: #F5E9F5;
--color-border: #DECFDE;
--color-text: #6C3E6A;
--color-muted: #7A6578;
--color-primary: #9932CC;
--color-on-primary: #FFFFFF;
--color-accent: #99609A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #180917;
--color-surface: #221322;
--color-border: #392738;
--color-text: #CAAECA;
--color-muted: #8F7A8F;
--color-primary: #9932CC;
--color-on-primary: #FFFFFF;
--color-accent: #DDA0DD;
--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 #DDA0DD | adjusted for contrast · from #8B008B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B008B | adjusted for contrast · from #DDA0DD |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #BA55D3 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.63: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.70:1 | AA pass 4.5:1 | |
| Label on accent | 4.67:1 | AA pass 4.5:1 | |
| Primary on background | 5.25:1 | AA pass 3:1 | |
| Accent on background | 4.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.56:1 | AAA pass 4.5:1 | |
| Text on surface | 8.80:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 5.70:1 | AA pass 4.5:1 | |
| Label on accent | 9.31:1 | AAA pass 4.5:1 | |
| Primary on background | 3.38:1 | AA Large pass 3:1 | |
| Accent on background | 9.31: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 | #8B008B (Text 1) | #9932CC (Text 2) | #BA55D3 (Text 3) | #DA70D6 (Text 4) | #DDA0DD (Text 5) |
|---|---|---|---|---|---|
| #8B008B | Same color | 1.49— | 2.16— | 2.94— | 4.11AA Large |
| #9932CC | 1.49— | Same color | 1.45— | 1.97— | 2.76— |
| #BA55D3 | 2.16— | 1.45— | Same color | 1.36— | 1.90— |
| #DA70D6 | 2.94— | 1.97— | 1.36— | Same color | 1.40— |
| #DDA0DD | 4.11AA Large | 2.76— | 1.90— | 1.40— | Same color |
Shades
Shades and tints (50–950)
