PreviewingGo to this paletteOpen in generator
Code
/* Lavender Lemonade — colorset.net */
:root {
--color-1: #F4F3DD;
--color-2: #EDE9A2;
--color-3: #DBCAFF;
--color-4: #CEC0FF;
--color-5: #F2D3EE;
--color-bg: #F4F3DD;
--color-surface: #FAFAEC;
--color-border: #DCDAC1;
--color-text: #56487E;
--color-muted: #6F6A84;
--color-primary: #9082BD;
--color-on-primary: #000000;
--color-accent: #918D48;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #100C1D;
--color-surface: #1A1628;
--color-border: #2F2A40;
--color-text: #F4F3DD;
--color-muted: #8B8A76;
--color-primary: #CEC0FF;
--color-on-primary: #100C1D;
--color-accent: #EDE9A2;
--color-on-accent: #100C1D;
}
}
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 #CEC0FF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #CEC0FF | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #CEC0FF | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #CEC0FF | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.13:1 | AAA pass 4.5:1 | |
| Text on surface | 7.60:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.60:1 | AA pass 4.5:1 | |
| Label on primary | 6.11:1 | AA pass 4.5:1 | |
| Label on accent | 6.11:1 | AA pass 4.5:1 | |
| Primary on background | 3.06:1 | AA Large pass 3:1 | |
| Accent on background | 3.06:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.13:1 | AAA pass 4.5:1 | |
| Text on surface | 15.73:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.49:1 | AA pass 4.5:1 | |
| Label on primary | 11.54:1 | AAA pass 4.5:1 | |
| Label on accent | 15.36:1 | AAA pass 4.5:1 | |
| Primary on background | 11.54:1 | AAA pass 3:1 | |
| Accent on background | 15.36: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 | #F4F3DD (Text 1) | #EDE9A2 (Text 2) | #DBCAFF (Text 3) | #CEC0FF (Text 4) | #F2D3EE (Text 5) |
|---|---|---|---|---|---|
| #F4F3DD | Same color | 1.12— | 1.35— | 1.48— | 1.22— |
| #EDE9A2 | 1.12— | Same color | 1.21— | 1.33— | 1.09— |
| #DBCAFF | 1.35— | 1.21— | Same color | 1.10— | 1.10— |
| #CEC0FF | 1.48— | 1.33— | 1.10— | Same color | 1.22— |
| #F2D3EE | 1.22— | 1.09— | 1.10— | 1.22— | Same color |
Shades
Shades and tints (50–950)
