PreviewingGo to this paletteOpen in generator
Code
/* Mauve — colorset.net */
:root {
--color-1: #C8A2C8;
--color-2: #D9B3D9;
--color-3: #E6C7E6;
--color-4: #F2DBF2;
--color-5: #B791B7;
--color-bg: #FBF4FB;
--color-surface: #F2EBF2;
--color-border: #DBD1DB;
--color-text: #654365;
--color-muted: #796479;
--color-primary: #A17CA1;
--color-on-primary: #000000;
--color-accent: #6B4E6B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160B16;
--color-surface: #201520;
--color-border: #372837;
--color-text: #F2DBF2;
--color-muted: #917C91;
--color-primary: #B791B7;
--color-on-primary: #160B16;
--color-accent: #E6C7E6;
--color-on-accent: #160B16;
}
}
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 #F2DBF2 | adjusted for contrast · from #B791B7 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B791B7 | from palette · color 4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B791B7 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B791B7 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.64:1 | AAA pass 4.5:1 | |
| Text on surface | 7.05:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 5.91:1 | AA pass 4.5:1 | |
| Label on accent | 7.17:1 | AAA pass 4.5:1 | |
| Primary on background | 3.29:1 | AA Large pass 3:1 | |
| Accent on background | 6.64:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.80:1 | AAA pass 4.5:1 | |
| Text on surface | 13.61:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 7.08:1 | AAA pass 4.5:1 | |
| Label on accent | 12.51:1 | AAA pass 4.5:1 | |
| Primary on background | 7.08:1 | AAA pass 3:1 | |
| Accent on background | 12.51: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 | #C8A2C8 (Text 1) | #D9B3D9 (Text 2) | #E6C7E6 (Text 3) | #F2DBF2 (Text 4) | #B791B7 (Text 5) |
|---|---|---|---|---|---|
| #C8A2C8 | Same color | 1.21— | 1.45— | 1.71— | 1.22— |
| #D9B3D9 | 1.21— | Same color | 1.20— | 1.42— | 1.47— |
| #E6C7E6 | 1.45— | 1.20— | Same color | 1.18— | 1.77— |
| #F2DBF2 | 1.71— | 1.42— | 1.18— | Same color | 2.09— |
| #B791B7 | 1.22— | 1.47— | 1.77— | 2.09— | Same color |
Shades
Shades and tints (50–950)
