PreviewingGo to this paletteOpen in generator
Code
/* Mystic Purple — colorset.net */
:root {
--color-1: #1B2631;
--color-2: #6C3483;
--color-3: #A569BD;
--color-4: #D2B4DE;
--color-5: #EBDEF0;
--color-bg: #F9F5FB;
--color-surface: #F0ECF1;
--color-border: #D8D2DB;
--color-text: #1B2631;
--color-muted: #5E6B78;
--color-primary: #995DB0;
--color-on-primary: #FFFFFF;
--color-accent: #8F8393;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0C1014;
--color-surface: #161A1E;
--color-border: #282F35;
--color-text: #EBDEF0;
--color-muted: #8B7F8F;
--color-primary: #995DB0;
--color-on-primary: #FFFFFF;
--color-accent: #5C6976;
--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 #EBDEF0 | adjusted for contrast · from #1B2631 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #A569BD | adjusted for contrast · from #A569BD |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A569BD | adjusted for contrast · from #6C3483 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.24:1 | AAA pass 4.5:1 | |
| Text on surface | 13.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.84:1 | AA pass 4.5:1 | |
| Primary on background | 4.28:1 | AA Large pass 3:1 | |
| Accent on background | 3.34:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.76:1 | AAA pass 4.5:1 | |
| Text on surface | 13.53:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.62:1 | AA pass 4.5:1 | |
| Primary on background | 4.13:1 | AA Large pass 3:1 | |
| Accent on background | 3.40: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 | #1B2631 (Text 1) | #6C3483 (Text 2) | #A569BD (Text 3) | #D2B4DE (Text 4) | #EBDEF0 (Text 5) |
|---|---|---|---|---|---|
| #1B2631 | Same color | 1.80— | 3.91AA Large | 8.28AAA | 11.87AAA |
| #6C3483 | 1.80— | Same color | 2.18— | 4.61AA | 6.61AA |
| #A569BD | 3.91AA Large | 2.18— | Same color | 2.11— | 3.03AA Large |
| #D2B4DE | 8.28AAA | 4.61AA | 2.11— | Same color | 1.43— |
| #EBDEF0 | 11.87AAA | 6.61AA | 3.03AA Large | 1.43— | Same color |
Shades
Shades and tints (50–950)
