PreviewingGo to this paletteOpen in generator
Code
/* Lavender Mauve — colorset.net */
:root {
--color-1: #E0B0FF;
--color-2: #D8A7E6;
--color-3: #C99FD6;
--color-4: #BA96C7;
--color-5: #AB8DB8;
--color-bg: #FAF4FF;
--color-surface: #F2EAF8;
--color-border: #DAD1E1;
--color-text: #5D4269;
--color-muted: #74647B;
--color-primary: #9163AC;
--color-on-primary: #FFFFFF;
--color-accent: #9B7EA8;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140B18;
--color-surface: #1E1522;
--color-border: #342939;
--color-text: #D1BEDF;
--color-muted: #8C7D95;
--color-primary: #E0B0FF;
--color-on-primary: #140B18;
--color-accent: #AB8DB8;
--color-on-accent: #140B18;
}
}
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 #E0B0FF | adjusted for contrast · from #AB8DB8 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #AB8DB8 | adjusted for contrast · from #D8A7E6 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #AB8DB8 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #AB8DB8 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.94:1 | AAA pass 4.5:1 | |
| Text on surface | 7.31:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 5.94:1 | AA pass 4.5:1 | |
| Primary on background | 4.24: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.13:1 | AAA pass 4.5:1 | |
| Text on surface | 10.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 10.84:1 | AAA pass 4.5:1 | |
| Label on accent | 6.63:1 | AA pass 4.5:1 | |
| Primary on background | 10.84:1 | AAA pass 3:1 | |
| Accent on background | 6.63:1 | AA 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) | #D8A7E6 (Text 2) | #C99FD6 (Text 3) | #BA96C7 (Text 4) | #AB8DB8 (Text 5) |
|---|---|---|---|---|---|
| #E0B0FF | Same color | 1.12— | 1.26— | 1.43— | 1.63— |
| #D8A7E6 | 1.12— | Same color | 1.12— | 1.28— | 1.46— |
| #C99FD6 | 1.26— | 1.12— | Same color | 1.14— | 1.30— |
| #BA96C7 | 1.43— | 1.28— | 1.14— | Same color | 1.14— |
| #AB8DB8 | 1.63— | 1.46— | 1.30— | 1.14— | Same color |
Shades
Shades and tints (50–950)
