PreviewingGo to this paletteOpen in generator
Code
/* Lavender Linen — colorset.net */
:root {
--color-1: #E6E6FA;
--color-2: #EDECFB;
--color-3: #F4F2FC;
--color-4: #FBF8FD;
--color-5: #DFDFF8;
--color-bg: #FBF8FD;
--color-surface: #F2EFF4;
--color-border: #DAD5DD;
--color-text: #4E4E62;
--color-muted: #6A6A80;
--color-primary: #87879E;
--color-on-primary: #000000;
--color-accent: #565668;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F15;
--color-surface: #191920;
--color-border: #2D2D37;
--color-text: #FBF8FD;
--color-muted: #8E8B90;
--color-primary: #DFDFF8;
--color-on-primary: #0F0F15;
--color-accent: #A9A9BD;
--color-on-accent: #0F0F15;
}
}
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 4 | adjusted for contrast · from #DFDFF8 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #DFDFF8 | from palette · color 4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #DFDFF8 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #DFDFF8 | adjusted for contrast · from #DFDFF8 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.70:1 | AAA pass 4.5:1 | |
| Text on surface | 7.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 5.99:1 | AA pass 4.5:1 | |
| Label on accent | 7.18:1 | AAA pass 4.5:1 | |
| Primary on background | 3.33:1 | AA Large pass 3:1 | |
| Accent on background | 6.82:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.14:1 | AAA pass 4.5:1 | |
| Text on surface | 16.61:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.68:1 | AA pass 4.5:1 | |
| Label on primary | 14.60:1 | AAA pass 4.5:1 | |
| Label on accent | 8.27:1 | AAA pass 4.5:1 | |
| Primary on background | 14.60:1 | AAA pass 3:1 | |
| Accent on background | 8.27: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 | #E6E6FA (Text 1) | #EDECFB (Text 2) | #F4F2FC (Text 3) | #FBF8FD (Text 4) | #DFDFF8 (Text 5) |
|---|---|---|---|---|---|
| #E6E6FA | Same color | 1.05— | 1.11— | 1.17— | 1.06— |
| #EDECFB | 1.05— | Same color | 1.05— | 1.11— | 1.12— |
| #F4F2FC | 1.11— | 1.05— | Same color | 1.05— | 1.18— |
| #FBF8FD | 1.17— | 1.11— | 1.05— | Same color | 1.24— |
| #DFDFF8 | 1.06— | 1.12— | 1.18— | 1.24— | Same color |
Shades
Shades and tints (50–950)
