PreviewingGo to this paletteOpen in generator
Code
/* Provence Lavender — colorset.net */
:root {
--color-1: #9966CC;
--color-2: #B19CD9;
--color-3: #C8A2C8;
--color-4: #D8BFD8;
--color-5: #E6E6FA;
--color-bg: #E6E6FA;
--color-surface: #EEEEFA;
--color-border: #CDCDE4;
--color-text: #583E73;
--color-muted: #6C617A;
--color-primary: #905DC2;
--color-on-primary: #FFFFFF;
--color-accent: #828193;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130B1B;
--color-surface: #1D1526;
--color-border: #33293E;
--color-text: #E6E6FA;
--color-muted: #828294;
--color-primary: #905DC2;
--color-on-primary: #FFFFFF;
--color-accent: #D8BFD8;
--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 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.26:1 | AAA pass 4.5:1 | |
| Text on surface | 7.76:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.70:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 5.51:1 | AA pass 4.5:1 | |
| Primary on background | 3.77:1 | AA Large pass 3:1 | |
| Accent on background | 3.10:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.63:1 | AAA pass 4.5:1 | |
| Text on surface | 14.37:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 11.33:1 | AAA pass 4.5:1 | |
| Primary on background | 4.15:1 | AA Large pass 3:1 | |
| Accent on background | 11.33: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) | #B19CD9 (Text 2) | #C8A2C8 (Text 3) | #D8BFD8 (Text 4) | #E6E6FA (Text 5) |
|---|---|---|---|---|---|
| #9966CC | Same color | 1.68— | 1.84— | 2.41— | 3.33AA Large |
| #B19CD9 | 1.68— | Same color | 1.10— | 1.43— | 1.98— |
| #C8A2C8 | 1.84— | 1.10— | Same color | 1.31— | 1.80— |
| #D8BFD8 | 2.41— | 1.43— | 1.31— | Same color | 1.38— |
| #E6E6FA | 3.33AA Large | 1.98— | 1.80— | 1.38— | Same color |
Shades
Shades and tints (50–950)
