PreviewingGo to this paletteOpen in generator
Code
/* Lilac Bedsheet — colorset.net */
:root {
--color-1: #F9F7FD;
--color-2: #F0ECFA;
--color-3: #E7DBF7;
--color-4: #F4C5DA;
--color-5: #655384;
--color-bg: #F9F7FD;
--color-surface: #F0EEF4;
--color-border: #D8D4DE;
--color-text: #574575;
--color-muted: #706780;
--color-primary: #655384;
--color-on-primary: #FFFFFF;
--color-accent: #A97E91;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120C1B;
--color-surface: #1C1626;
--color-border: #312A3E;
--color-text: #F9F7FD;
--color-muted: #8D8B90;
--color-primary: #705E90;
--color-on-primary: #FFFFFF;
--color-accent: #F4C5DA;
--color-on-accent: #120C1B;
}
}
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 #655384 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #655384 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #655384 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #655384 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.86:1 | AAA pass 4.5:1 | |
| Text on surface | 7.26:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 6.72:1 | AA pass 4.5:1 | |
| Label on accent | 6.08:1 | AA pass 4.5:1 | |
| Primary on background | 6.32:1 | AA pass 3:1 | |
| Accent on background | 3.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.05:1 | AAA pass 4.5:1 | |
| Text on surface | 16.57:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.69:1 | AA pass 4.5:1 | |
| Label on primary | 5.69:1 | AA pass 4.5:1 | |
| Label on accent | 12.65:1 | AAA pass 4.5:1 | |
| Primary on background | 3.38:1 | AA Large pass 3:1 | |
| Accent on background | 12.65: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 | #F9F7FD (Text 1) | #F0ECFA (Text 2) | #E7DBF7 (Text 3) | #F4C5DA (Text 4) | #655384 (Text 5) |
|---|---|---|---|---|---|
| #F9F7FD | Same color | 1.09— | 1.24— | 1.43— | 6.32AA |
| #F0ECFA | 1.09— | Same color | 1.14— | 1.31— | 5.79AA |
| #E7DBF7 | 1.24— | 1.14— | Same color | 1.15— | 5.08AA |
| #F4C5DA | 1.43— | 1.31— | 1.15— | Same color | 4.43AA Large |
| #655384 | 6.32AA | 5.79AA | 5.08AA | 4.43AA Large | Same color |
Shades
Shades and tints (50–950)
