PreviewingGo to this paletteOpen in generator
Code
/* Lilac Budget — colorset.net */
:root {
--color-1: #F7F5FC;
--color-2: #7A5AF8;
--color-3: #F2B544;
--color-4: #CFC6F0;
--color-5: #221B3A;
--color-bg: #F7F5FC;
--color-surface: #EEECF3;
--color-border: #D5D2DD;
--color-text: #221B3A;
--color-muted: #6A667F;
--color-primary: #7A5AF8;
--color-on-primary: #FFFFFF;
--color-accent: #9C6E00;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #221B3A;
--color-surface: #2D2646;
--color-border: #423E56;
--color-text: #F7F5FC;
--color-muted: #95949A;
--color-primary: #7A5AF8;
--color-on-primary: #FFFFFF;
--color-accent: #F2B544;
--color-on-accent: #221B3A;
}
}
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 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F2B544 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.10:1 | AAA pass 4.5:1 | |
| Text on surface | 13.94:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 4.52:1 | AA pass 4.5:1 | |
| Primary on background | 4.18:1 | AA Large pass 3:1 | |
| Accent on background | 4.18:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.10:1 | AAA pass 4.5:1 | |
| Text on surface | 13.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.43:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 8.92:1 | AAA pass 4.5:1 | |
| Primary on background | 3.61:1 | AA Large pass 3:1 | |
| Accent on background | 8.92: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 | #F7F5FC (Text 1) | #7A5AF8 (Text 2) | #F2B544 (Text 3) | #CFC6F0 (Text 4) | #221B3A (Text 5) |
|---|---|---|---|---|---|
| #F7F5FC | Same color | 4.18AA Large | 1.69— | 1.50— | 15.10AAA |
| #7A5AF8 | 4.18AA Large | Same color | 2.47— | 2.80— | 3.61AA Large |
| #F2B544 | 1.69— | 2.47— | Same color | 1.13— | 8.92AAA |
| #CFC6F0 | 1.50— | 2.80— | 1.13— | Same color | 10.10AAA |
| #221B3A | 15.10AAA | 3.61AA Large | 8.92AAA | 10.10AAA | Same color |
Shades
Shades and tints (50–950)
