PreviewingGo to this paletteOpen in generator
Code
/* Thistle Down — colorset.net */
:root {
--color-1: #D8BFD8;
--color-2: #E1CEE1;
--color-3: #EADCEA;
--color-4: #F3EBF3;
--color-5: #FCF9FC;
--color-bg: #FCF9FC;
--color-surface: #F3F0F3;
--color-border: #DCD6DC;
--color-text: #5E485E;
--color-muted: #7A657A;
--color-primary: #998199;
--color-on-primary: #000000;
--color-accent: #655265;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130D14;
--color-surface: #1E171E;
--color-border: #342A34;
--color-text: #FCF9FC;
--color-muted: #8F8C8F;
--color-primary: #D8BFD8;
--color-on-primary: #130D14;
--color-accent: #EADCEA;
--color-on-accent: #130D14;
}
}
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 #D8BFD8 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #D8BFD8 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D8BFD8 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D8BFD8 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.84:1 | AAA pass 4.5:1 | |
| Text on surface | 7.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 5.95:1 | AA pass 4.5:1 | |
| Label on accent | 7.12:1 | AAA pass 4.5:1 | |
| Primary on background | 3.37:1 | AA Large pass 3:1 | |
| Accent on background | 6.82:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.35:1 | AAA pass 4.5:1 | |
| Text on surface | 16.79:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.77:1 | AA pass 4.5:1 | |
| Label on primary | 11.29:1 | AAA pass 4.5:1 | |
| Label on accent | 14.54:1 | AAA pass 4.5:1 | |
| Primary on background | 11.29:1 | AAA pass 3:1 | |
| Accent on background | 14.54: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 | #D8BFD8 (Text 1) | #E1CEE1 (Text 2) | #EADCEA (Text 3) | #F3EBF3 (Text 4) | #FCF9FC (Text 5) |
|---|---|---|---|---|---|
| #D8BFD8 | Same color | 1.14— | 1.29— | 1.45— | 1.63— |
| #E1CEE1 | 1.14— | Same color | 1.13— | 1.27— | 1.42— |
| #EADCEA | 1.29— | 1.13— | Same color | 1.13— | 1.26— |
| #F3EBF3 | 1.45— | 1.27— | 1.13— | Same color | 1.12— |
| #FCF9FC | 1.63— | 1.42— | 1.26— | 1.12— | Same color |
Shades
Shades and tints (50–950)
