PreviewingGo to this paletteOpen in generator
Code
/* Lilac Mauve — colorset.net */
:root {
--color-1: #9966CC;
--color-2: #CC99CC;
--color-3: #CCCCFF;
--color-4: #E0B0FF;
--color-5: #F0E5FF;
--color-bg: #F0E5FF;
--color-surface: #F5EFFE;
--color-border: #D8CCE8;
--color-text: #5B4176;
--color-muted: #6F647C;
--color-primary: #905DC2;
--color-on-primary: #FFFFFF;
--color-accent: #8B8098;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130B1B;
--color-surface: #1D1526;
--color-border: #33293E;
--color-text: #F0E5FF;
--color-muted: #8A8097;
--color-primary: #905DC2;
--color-on-primary: #FFFFFF;
--color-accent: #CCCCFF;
--color-on-accent: #130B1B;
}
}
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 #9966CC |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #9966CC | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #9966CC | adjusted for contrast · from #9966CC |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9966CC | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.05:1 | AAA pass 4.5:1 | |
| Text on surface | 7.58:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.58:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 5.64:1 | AA pass 4.5:1 | |
| Primary on background | 3.83:1 | AA Large pass 3:1 | |
| Accent on background | 3.08:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.90:1 | AAA pass 4.5:1 | |
| Text on surface | 14.62:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.15:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 12.51:1 | AAA pass 4.5:1 | |
| Primary on background | 4.15:1 | AA Large 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 | #9966CC (Text 1) | #CC99CC (Text 2) | #CCCCFF (Text 3) | #E0B0FF (Text 4) | #F0E5FF (Text 5) |
|---|---|---|---|---|---|
| #9966CC | Same color | 1.75— | 2.66— | 2.31— | 3.39AA Large |
| #CC99CC | 1.75— | Same color | 1.52— | 1.31— | 1.93— |
| #CCCCFF | 2.66— | 1.52— | Same color | 1.15— | 1.27— |
| #E0B0FF | 2.31— | 1.31— | 1.15— | Same color | 1.47— |
| #F0E5FF | 3.39AA Large | 1.93— | 1.27— | 1.47— | Same color |
Shades
Shades and tints (50–950)
