PreviewingGo to this paletteOpen in generator
Code
/* Lilac Cumulus — colorset.net */
:root {
--color-1: #F6EEFC;
--color-2: #E7D5FF;
--color-3: #D0C9FF;
--color-4: #BCEBF4;
--color-5: #ABA9E8;
--color-bg: #F6EEFC;
--color-surface: #FCF7FF;
--color-border: #DED5E6;
--color-text: #4E4A81;
--color-muted: #6B6B85;
--color-primary: #8784C0;
--color-on-primary: #000000;
--color-accent: #65929A;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E0D1E;
--color-surface: #181729;
--color-border: #2C2B41;
--color-text: #F6EEFC;
--color-muted: #8C8592;
--color-primary: #ABA9E8;
--color-on-primary: #0E0D1E;
--color-accent: #BCEBF4;
--color-on-accent: #0E0D1E;
}
}
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 1 | adjusted for contrast · from #ABA9E8 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #ABA9E8 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #ABA9E8 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #ABA9E8 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.08:1 | AAA pass 4.5:1 | |
| Text on surface | 7.59:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.56:1 | AA pass 4.5:1 | |
| Label on primary | 6.09:1 | AA pass 4.5:1 | |
| Label on accent | 6.13:1 | AA pass 4.5:1 | |
| Primary on background | 3.05:1 | AA Large pass 3:1 | |
| Accent on background | 3.03:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.94:1 | AAA pass 4.5:1 | |
| Text on surface | 15.55:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.37:1 | AA pass 4.5:1 | |
| Label on primary | 8.74:1 | AAA pass 4.5:1 | |
| Label on accent | 14.91:1 | AAA pass 4.5:1 | |
| Primary on background | 8.74:1 | AAA pass 3:1 | |
| Accent on background | 14.91: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 | #F6EEFC (Text 1) | #E7D5FF (Text 2) | #D0C9FF (Text 3) | #BCEBF4 (Text 4) | #ABA9E8 (Text 5) |
|---|---|---|---|---|---|
| #F6EEFC | Same color | 1.21— | 1.38— | 1.14— | 1.94— |
| #E7D5FF | 1.21— | Same color | 1.14— | 1.06— | 1.60— |
| #D0C9FF | 1.38— | 1.14— | Same color | 1.21— | 1.41— |
| #BCEBF4 | 1.14— | 1.06— | 1.21— | Same color | 1.71— |
| #ABA9E8 | 1.94— | 1.60— | 1.41— | 1.71— | Same color |
Shades
Shades and tints (50–950)
