PreviewingGo to this paletteOpen in generator
Code
/* Purple Pansy Fade — colorset.net */
:root {
--color-1: #8E24AA;
--color-2: #BA68C8;
--color-3: #CE93D8;
--color-4: #E1BEE7;
--color-5: #F3E5F5;
--color-bg: #F3E5F5;
--color-surface: #F7EEF8;
--color-border: #DCCCDE;
--color-text: #613C6D;
--color-muted: #726177;
--color-primary: #8E24AA;
--color-on-primary: #FFFFFF;
--color-accent: #8D818F;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160A19;
--color-surface: #201424;
--color-border: #36273B;
--color-text: #F3E5F5;
--color-muted: #8C808E;
--color-primary: #9E37BA;
--color-on-primary: #FFFFFF;
--color-accent: #E1BEE7;
--color-on-accent: #160A19;
}
}
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 | from palette · color 5 | adjusted for contrast · from #8E24AA |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8E24AA | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | adjusted for contrast · from #8E24AA |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #BA68C8 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.30:1 | AAA pass 4.5:1 | |
| Text on surface | 7.80:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.70:1 | AA pass 4.5:1 | |
| Label on primary | 7.04:1 | AAA pass 4.5:1 | |
| Label on accent | 5.67:1 | AA pass 4.5:1 | |
| Primary on background | 5.81:1 | AA pass 3:1 | |
| Accent on background | 3.06:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.88:1 | AAA pass 4.5:1 | |
| Text on surface | 14.61:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.12:1 | AA pass 4.5:1 | |
| Label on primary | 5.66:1 | AA pass 4.5:1 | |
| Label on accent | 11.65:1 | AAA pass 4.5:1 | |
| Primary on background | 3.40:1 | AA Large pass 3:1 | |
| Accent on background | 11.65: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 | #8E24AA (Text 1) | #BA68C8 (Text 2) | #CE93D8 (Text 3) | #E1BEE7 (Text 4) | #F3E5F5 (Text 5) |
|---|---|---|---|---|---|
| #8E24AA | Same color | 1.98— | 2.95— | 4.26AA Large | 5.81AA |
| #BA68C8 | 1.98— | Same color | 1.49— | 2.16— | 2.94— |
| #CE93D8 | 2.95— | 1.49— | Same color | 1.45— | 1.97— |
| #E1BEE7 | 4.26AA Large | 2.16— | 1.45— | Same color | 1.36— |
| #F3E5F5 | 5.81AA | 2.94— | 1.97— | 1.36— | Same color |
Shades
Shades and tints (50–950)
