PreviewingGo to this paletteOpen in generator
Code
/* Thistle Purple — colorset.net */
:root {
--color-1: #A084BD;
--color-2: #B19CD9;
--color-3: #CDB4DB;
--color-4: #D8BFD8;
--color-5: #E6D7ED;
--color-bg: #F9F5FC;
--color-surface: #F0EBF2;
--color-border: #D9D2DC;
--color-text: #5C4276;
--color-muted: #71667E;
--color-primary: #8569A0;
--color-on-primary: #FFFFFF;
--color-accent: #908397;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130B1B;
--color-surface: #1E1526;
--color-border: #33283E;
--color-text: #E6D7ED;
--color-muted: #8C7E92;
--color-primary: #A084BD;
--color-on-primary: #130B1B;
--color-accent: #D8BFD8;
--color-on-accent: #130B1B;
}
}
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 #E6D7ED | adjusted for contrast · from #A084BD |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #A084BD | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #A084BD | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A084BD | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.81:1 | AAA pass 4.5:1 | |
| Text on surface | 7.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 5.88:1 | AA pass 4.5:1 | |
| Primary on background | 4.31:1 | AA Large pass 3:1 | |
| Accent on background | 3.32:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.03:1 | AAA pass 4.5:1 | |
| Text on surface | 12.86:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 5.98:1 | AA pass 4.5:1 | |
| Label on accent | 11.33:1 | AAA pass 4.5:1 | |
| Primary on background | 5.98:1 | AA pass 3:1 | |
| Accent on background | 11.33: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 | #A084BD (Text 1) | #B19CD9 (Text 2) | #CDB4DB (Text 3) | #D8BFD8 (Text 4) | #E6D7ED (Text 5) |
|---|---|---|---|---|---|
| #A084BD | Same color | 1.32— | 1.71— | 1.89— | 2.34— |
| #B19CD9 | 1.32— | Same color | 1.29— | 1.43— | 1.77— |
| #CDB4DB | 1.71— | 1.29— | Same color | 1.11— | 1.37— |
| #D8BFD8 | 1.89— | 1.43— | 1.11— | Same color | 1.24— |
| #E6D7ED | 2.34— | 1.77— | 1.37— | 1.24— | Same color |
Shades
Shades and tints (50–950)
