PreviewingGo to this paletteOpen in generator
Code
/* Lavender Frost — colorset.net */
:root {
--color-1: #F8F8FF;
--color-2: #F0F0FF;
--color-3: #E8E8FF;
--color-4: #E0E0FF;
--color-5: #D8D8FF;
--color-bg: #F8F8FF;
--color-surface: #EFEFF6;
--color-border: #D6D6E0;
--color-text: #4E4D6D;
--color-muted: #6A6A84;
--color-primary: #8786AA;
--color-on-primary: #000000;
--color-accent: #575672;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E0E18;
--color-surface: #181823;
--color-border: #2C2C3B;
--color-text: #F8F8FF;
--color-muted: #8C8C92;
--color-primary: #D8D8FF;
--color-on-primary: #0E0E18;
--color-accent: #A3A3C2;
--color-on-accent: #0E0E18;
}
}
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 #D8D8FF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #D8D8FF | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D8D8FF | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D8D8FF | adjusted for contrast · from #D8D8FF |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.62:1 | AAA pass 4.5:1 | |
| Text on surface | 7.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 6.02:1 | AA pass 4.5:1 | |
| Label on accent | 7.05:1 | AAA pass 4.5:1 | |
| Primary on background | 3.30:1 | AA Large pass 3:1 | |
| Accent on background | 6.67:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.14:1 | AAA pass 4.5:1 | |
| Text on surface | 16.64:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.74:1 | AA pass 4.5:1 | |
| Label on primary | 13.87:1 | AAA pass 4.5:1 | |
| Label on accent | 7.83:1 | AAA pass 4.5:1 | |
| Primary on background | 13.87:1 | AAA pass 3:1 | |
| Accent on background | 7.83: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 | #F8F8FF (Text 1) | #F0F0FF (Text 2) | #E8E8FF (Text 3) | #E0E0FF (Text 4) | #D8D8FF (Text 5) |
|---|---|---|---|---|---|
| #F8F8FF | Same color | 1.07— | 1.14— | 1.22— | 1.31— |
| #F0F0FF | 1.07— | Same color | 1.07— | 1.14— | 1.23— |
| #E8E8FF | 1.14— | 1.07— | Same color | 1.07— | 1.15— |
| #E0E0FF | 1.22— | 1.14— | 1.07— | Same color | 1.07— |
| #D8D8FF | 1.31— | 1.23— | 1.15— | 1.07— | Same color |
Shades
Shades and tints (50–950)
