PreviewingGo to this paletteOpen in generator
Code
/* Antique Mauve — colorset.net */
:root {
--color-1: #9F7F9F;
--color-2: #B396B3;
--color-3: #C7ADC7;
--color-4: #DBC4DB;
--color-5: #EFDBEF;
--color-bg: #FBF4FB;
--color-surface: #F1EBF1;
--color-border: #DAD2DA;
--color-text: #604361;
--color-muted: #786378;
--color-primary: #9C7C9C;
--color-on-primary: #000000;
--color-accent: #674D67;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150C15;
--color-surface: #1F161F;
--color-border: #362936;
--color-text: #EFDBEF;
--color-muted: #8F7D8F;
--color-primary: #9F7F9F;
--color-on-primary: #150C15;
--color-accent: #DBC4DB;
--color-on-accent: #150C15;
}
}
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 #EFDBEF | adjusted for contrast · from #9F7F9F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #9F7F9F | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #9F7F9F | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9F7F9F | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.86:1 | AAA pass 4.5:1 | |
| Text on surface | 7.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 5.78:1 | AA pass 4.5:1 | |
| Label on accent | 7.41:1 | AAA pass 4.5:1 | |
| Primary on background | 3.36:1 | AA Large pass 3:1 | |
| Accent on background | 6.86:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.65:1 | AAA pass 4.5:1 | |
| Text on surface | 13.45:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 5.49:1 | AA pass 4.5:1 | |
| Label on accent | 11.81:1 | AAA pass 4.5:1 | |
| Primary on background | 5.49:1 | AA pass 3:1 | |
| Accent on background | 11.81: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 | #9F7F9F (Text 1) | #B396B3 (Text 2) | #C7ADC7 (Text 3) | #DBC4DB (Text 4) | #EFDBEF (Text 5) |
|---|---|---|---|---|---|
| #9F7F9F | Same color | 1.32— | 1.70— | 2.15— | 2.67— |
| #B396B3 | 1.32— | Same color | 1.29— | 1.63— | 2.02— |
| #C7ADC7 | 1.70— | 1.29— | Same color | 1.26— | 1.57— |
| #DBC4DB | 2.15— | 1.63— | 1.26— | Same color | 1.24— |
| #EFDBEF | 2.67— | 2.02— | 1.57— | 1.24— | Same color |
Shades
Shades and tints (50–950)
