PreviewingGo to this paletteOpen in generator
Code
/* Lilac Breeze — colorset.net */
:root {
--color-1: #DDA0DD;
--color-2: #E6B3E6;
--color-3: #EFC6EF;
--color-4: #F8D9F8;
--color-5: #D48DD4;
--color-bg: #FDF3FD;
--color-surface: #F3EAF3;
--color-border: #DCD0DC;
--color-text: #693C69;
--color-muted: #786378;
--color-primary: #A05DA1;
--color-on-primary: #FFFFFF;
--color-accent: #9B7E9B;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170A17;
--color-surface: #221322;
--color-border: #392738;
--color-text: #F8D9F8;
--color-muted: #8F7A8F;
--color-primary: #D48DD4;
--color-on-primary: #170A17;
--color-accent: #E6B3E6;
--color-on-accent: #170A17;
}
}
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 #F8D9F8 | adjusted for contrast · from #D48DD4 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #D48DD4 | from palette · color 4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D48DD4 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D48DD4 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.92:1 | AAA pass 4.5:1 | |
| Text on surface | 7.29:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 5.85:1 | AA pass 4.5:1 | |
| Primary on background | 4.24:1 | AA Large pass 3:1 | |
| Accent on background | 3.32:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.90:1 | AAA pass 4.5:1 | |
| Text on surface | 13.74:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.90:1 | AA pass 4.5:1 | |
| Label on primary | 7.84:1 | AAA pass 4.5:1 | |
| Label on accent | 10.95:1 | AAA pass 4.5:1 | |
| Primary on background | 7.84:1 | AAA pass 3:1 | |
| Accent on background | 10.95: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 | #DDA0DD (Text 1) | #E6B3E6 (Text 2) | #EFC6EF (Text 3) | #F8D9F8 (Text 4) | #D48DD4 (Text 5) |
|---|---|---|---|---|---|
| #DDA0DD | Same color | 1.18— | 1.38— | 1.60— | 1.19— |
| #E6B3E6 | 1.18— | Same color | 1.17— | 1.36— | 1.40— |
| #EFC6EF | 1.38— | 1.17— | Same color | 1.16— | 1.63— |
| #F8D9F8 | 1.60— | 1.36— | 1.16— | Same color | 1.90— |
| #D48DD4 | 1.19— | 1.40— | 1.63— | 1.90— | Same color |
Shades
Shades and tints (50–950)
