PreviewingGo to this paletteOpen in generator
Code
/* Thistle Bloom — colorset.net */
:root {
--color-1: #E0B0FF;
--color-2: #DDA0DD;
--color-3: #D8BFD8;
--color-4: #C8A2C8;
--color-5: #BA55D3;
--color-bg: #FCF4FC;
--color-surface: #F2EBF2;
--color-border: #DBD1DB;
--color-text: #664070;
--color-muted: #77657B;
--color-primary: #AD48C6;
--color-on-primary: #FFFFFF;
--color-accent: #998199;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160A19;
--color-surface: #201424;
--color-border: #37273B;
--color-text: #D8BFD8;
--color-muted: #8F7A8F;
--color-primary: #AD48C6;
--color-on-primary: #FFFFFF;
--color-accent: #E0B0FF;
--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 | adjusted for contrast · from #D8BFD8 | adjusted for contrast · from #BA55D3 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #BA55D3 | from palette · color 3 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #BA55D3 | adjusted for contrast · from #BA55D3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C8A2C8 | from palette · color 1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.69:1 | AAA pass 4.5:1 | |
| Text on surface | 7.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 5.95:1 | AA pass 4.5:1 | |
| Primary on background | 4.31:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.33:1 | AAA pass 4.5:1 | |
| Text on surface | 10.42:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.90:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 10.83:1 | AAA pass 4.5:1 | |
| Primary on background | 4.14:1 | AA Large pass 3:1 | |
| Accent on background | 10.83: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 | #E0B0FF (Text 1) | #DDA0DD (Text 2) | #D8BFD8 (Text 3) | #C8A2C8 (Text 4) | #BA55D3 (Text 5) |
|---|---|---|---|---|---|
| #E0B0FF | Same color | 1.17— | 1.05— | 1.25— | 2.22— |
| #DDA0DD | 1.17— | Same color | 1.22— | 1.07— | 1.90— |
| #D8BFD8 | 1.05— | 1.22— | Same color | 1.31— | 2.32— |
| #C8A2C8 | 1.25— | 1.07— | 1.31— | Same color | 1.78— |
| #BA55D3 | 2.22— | 1.90— | 2.32— | 1.78— | Same color |
Shades
Shades and tints (50–950)
