PreviewingGo to this paletteOpen in generator
Code
/* Purple Deep — colorset.net */
:root {
--color-1: #6A0572;
--color-2: #8A2BE2;
--color-3: #9400D3;
--color-4: #9932CC;
--color-5: #BA55D3;
--color-bg: #FDF3FF;
--color-surface: #F4E9F6;
--color-border: #DCD0E0;
--color-text: #582F5C;
--color-muted: #776378;
--color-primary: #9400D3;
--color-on-primary: #FFFFFF;
--color-accent: #6A0572;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170A18;
--color-surface: #221422;
--color-border: #382739;
--color-text: #B49DBB;
--color-muted: #8F7C93;
--color-primary: #9D1CDD;
--color-on-primary: #FFFFFF;
--color-accent: #9C42A4;
--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 #BA55D3 | adjusted for contrast · from #6A0572 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #6A0572 | adjusted for contrast · from #BA55D3 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | adjusted for contrast · from #9400D3 |
| On primary | derived | derived |
| Accent | from palette · color 1 | adjusted for contrast · from #9932CC |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.84:1 | AAA pass 4.5:1 | |
| Text on surface | 9.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 6.56:1 | AA pass 4.5:1 | |
| Label on accent | 11.18:1 | AAA pass 4.5:1 | |
| Primary on background | 6.08:1 | AA pass 3:1 | |
| Accent on background | 10.35:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.76:1 | AAA pass 4.5:1 | |
| Text on surface | 7.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 5.76:1 | AA pass 4.5:1 | |
| Label on accent | 5.63:1 | AA pass 4.5:1 | |
| Primary on background | 3.33:1 | AA Large pass 3:1 | |
| Accent on background | 3.41: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 | #6A0572 (Text 1) | #8A2BE2 (Text 2) | #9400D3 (Text 3) | #9932CC (Text 4) | #BA55D3 (Text 5) |
|---|---|---|---|---|---|
| #6A0572 | Same color | 1.88— | 1.70— | 1.96— | 2.84— |
| #8A2BE2 | 1.88— | Same color | 1.10— | 1.04— | 1.51— |
| #9400D3 | 1.70— | 1.10— | Same color | 1.15— | 1.67— |
| #9932CC | 1.96— | 1.04— | 1.15— | Same color | 1.45— |
| #BA55D3 | 2.84— | 1.51— | 1.67— | 1.45— | Same color |
Shades
Shades and tints (50–950)
