PreviewingGo to this paletteOpen in generator
Code
/* Mauve Soft — colorset.net */
:root {
--color-1: #C8A2C8;
--color-2: #D4B2D8;
--color-3: #E0C3E8;
--color-4: #ECD4F4;
--color-5: #F8E5FF;
--color-bg: #F8E5FF;
--color-surface: #FBEFFF;
--color-border: #DFCDE6;
--color-text: #634263;
--color-muted: #776377;
--color-primary: #9F7B9F;
--color-on-primary: #000000;
--color-accent: #694D69;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160B16;
--color-surface: #201520;
--color-border: #362837;
--color-text: #F8E5FF;
--color-muted: #907F96;
--color-primary: #C8A2C8;
--color-on-primary: #160B16;
--color-accent: #E0C3E8;
--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 | from palette · color 5 | adjusted for contrast · from #C8A2C8 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #C8A2C8 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C8A2C8 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C8A2C8 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.09:1 | AAA pass 4.5:1 | |
| Text on surface | 7.59:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.60:1 | AA pass 4.5:1 | |
| Label on primary | 5.81:1 | AA pass 4.5:1 | |
| Label on accent | 7.33:1 | AAA pass 4.5:1 | |
| Primary on background | 3.04:1 | AA Large pass 3:1 | |
| Accent on background | 6.16:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.13:1 | AAA pass 4.5:1 | |
| Text on surface | 14.83:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.18:1 | AA pass 4.5:1 | |
| Label on primary | 8.65:1 | AAA pass 4.5:1 | |
| Label on accent | 12.02:1 | AAA pass 4.5:1 | |
| Primary on background | 8.65:1 | AAA pass 3:1 | |
| Accent on background | 12.02: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) | #D4B2D8 (Text 2) | #E0C3E8 (Text 3) | #ECD4F4 (Text 4) | #F8E5FF (Text 5) |
|---|---|---|---|---|---|
| #C8A2C8 | Same color | 1.18— | 1.39— | 1.62— | 1.87— |
| #D4B2D8 | 1.18— | Same color | 1.18— | 1.37— | 1.58— |
| #E0C3E8 | 1.39— | 1.18— | Same color | 1.16— | 1.34— |
| #ECD4F4 | 1.62— | 1.37— | 1.16— | Same color | 1.15— |
| #F8E5FF | 1.87— | 1.58— | 1.34— | 1.15— | Same color |
Shades
Shades and tints (50–950)
