PreviewingGo to this paletteOpen in generator
Code
/* Mauve Thistle — colorset.net */
:root {
--color-1: #C5A3C8;
--color-2: #D1B5D4;
--color-3: #DCC7DF;
--color-4: #E8D9EA;
--color-5: #F3EBF5;
--color-bg: #F3EBF5;
--color-surface: #F8F4FA;
--color-border: #DCD1DE;
--color-text: #604363;
--color-muted: #776378;
--color-primary: #9F7EA2;
--color-on-primary: #000000;
--color-accent: #694F6C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150B16;
--color-surface: #1F1520;
--color-border: #362937;
--color-text: #F3EBF5;
--color-muted: #8B848D;
--color-primary: #C5A3C8;
--color-on-primary: #150B16;
--color-accent: #DCC7DF;
--color-on-accent: #150B16;
}
}
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 #C5A3C8 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #C5A3C8 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C5A3C8 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C5A3C8 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.26:1 | AAA pass 4.5:1 | |
| Text on surface | 7.79:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.69:1 | AA pass 4.5:1 | |
| Label on primary | 5.98:1 | AA pass 4.5:1 | |
| Label on accent | 7.15:1 | AAA pass 4.5:1 | |
| Primary on background | 3.01:1 | AA Large pass 3:1 | |
| Accent on background | 6.14:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.51:1 | AAA pass 4.5:1 | |
| Text on surface | 15.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.30:1 | AA pass 4.5:1 | |
| Label on primary | 8.66:1 | AAA pass 4.5:1 | |
| Label on accent | 12.17:1 | AAA pass 4.5:1 | |
| Primary on background | 8.66:1 | AAA pass 3:1 | |
| Accent on background | 12.17: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 | #C5A3C8 (Text 1) | #D1B5D4 (Text 2) | #DCC7DF (Text 3) | #E8D9EA (Text 4) | #F3EBF5 (Text 5) |
|---|---|---|---|---|---|
| #C5A3C8 | Same color | 1.19— | 1.41— | 1.65— | 1.91— |
| #D1B5D4 | 1.19— | Same color | 1.18— | 1.38— | 1.60— |
| #DCC7DF | 1.41— | 1.18— | Same color | 1.17— | 1.36— |
| #E8D9EA | 1.65— | 1.38— | 1.17— | Same color | 1.16— |
| #F3EBF5 | 1.91— | 1.60— | 1.36— | 1.16— | Same color |
Shades
Shades and tints (50–950)
