PreviewingGo to this paletteOpen in generator
Code
/* Wisteria Purple — colorset.net */
:root {
--color-1: #9B7EBD;
--color-2: #A890D3;
--color-3: #C9A0DC;
--color-4: #D8BFD8;
--color-5: #E6D2F0;
--color-bg: #FAF4FD;
--color-surface: #F1EBF4;
--color-border: #D9D1DE;
--color-text: #5C4378;
--color-muted: #71677F;
--color-primary: #8669A7;
--color-on-primary: #FFFFFF;
--color-accent: #93819D;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130B1C;
--color-surface: #1D1526;
--color-border: #32293E;
--color-text: #E6D2F0;
--color-muted: #8B7B93;
--color-primary: #9B7EBD;
--color-on-primary: #130B1C;
--color-accent: #D8BFD8;
--color-on-accent: #130B1C;
}
}
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 #E6D2F0 | adjusted for contrast · from #9B7EBD |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #9B7EBD | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #9B7EBD | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9B7EBD | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.68:1 | AAA pass 4.5:1 | |
| Text on surface | 7.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 5.87:1 | AA pass 4.5:1 | |
| Primary on background | 4.23:1 | AA Large pass 3:1 | |
| Accent on background | 3.31:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.59:1 | AAA pass 4.5:1 | |
| Text on surface | 12.50:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.90:1 | AA pass 4.5:1 | |
| Label on primary | 5.60:1 | AA pass 4.5:1 | |
| Label on accent | 11.32:1 | AAA pass 4.5:1 | |
| Primary on background | 5.60:1 | AA pass 3:1 | |
| Accent on background | 11.32: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 | #9B7EBD (Text 1) | #A890D3 (Text 2) | #C9A0DC (Text 3) | #D8BFD8 (Text 4) | #E6D2F0 (Text 5) |
|---|---|---|---|---|---|
| #9B7EBD | Same color | 1.24— | 1.56— | 2.02— | 2.43— |
| #A890D3 | 1.24— | Same color | 1.26— | 1.63— | 1.95— |
| #C9A0DC | 1.56— | 1.26— | Same color | 1.30— | 1.55— |
| #D8BFD8 | 2.02— | 1.63— | 1.30— | Same color | 1.20— |
| #E6D2F0 | 2.43— | 1.95— | 1.55— | 1.20— | Same color |
Shades
Shades and tints (50–950)
