PreviewingGo to this paletteOpen in generator
Code
/* Lilac Parchment — colorset.net */
:root {
--color-1: #9B59B6;
--color-2: #B298DC;
--color-3: #C9B7E3;
--color-4: #E0D6EA;
--color-5: #F7F5F1;
--color-bg: #F7F5F1;
--color-surface: #FEFCFA;
--color-border: #E0DCD5;
--color-text: #674476;
--color-muted: #7A6A81;
--color-primary: #9B59B6;
--color-on-primary: #FFFFFF;
--color-accent: #8E8C88;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150A1A;
--color-surface: #201424;
--color-border: #36283C;
--color-text: #F7F5F1;
--color-muted: #8C8A87;
--color-primary: #9B59B6;
--color-on-primary: #FFFFFF;
--color-accent: #E0D6EA;
--color-on-accent: #150A1A;
}
}
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 5 | adjusted for contrast · from #9B59B6 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #9B59B6 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B298DC | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.24:1 | AAA pass 4.5:1 | |
| Text on surface | 7.70:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.59:1 | AA pass 4.5:1 | |
| Label on primary | 4.67:1 | AA pass 4.5:1 | |
| Label on accent | 6.26:1 | AA pass 4.5:1 | |
| Primary on background | 4.29:1 | AA Large pass 3:1 | |
| Accent on background | 3.08:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.69:1 | AAA pass 4.5:1 | |
| Text on surface | 16.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.60:1 | AA pass 4.5:1 | |
| Label on primary | 4.67:1 | AA pass 4.5:1 | |
| Label on accent | 13.74:1 | AAA pass 4.5:1 | |
| Primary on background | 4.13:1 | AA Large pass 3:1 | |
| Accent on background | 13.74: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 | #9B59B6 (Text 1) | #B298DC (Text 2) | #C9B7E3 (Text 3) | #E0D6EA (Text 4) | #F7F5F1 (Text 5) |
|---|---|---|---|---|---|
| #9B59B6 | Same color | 1.87— | 2.53— | 3.33AA Large | 4.29AA Large |
| #B298DC | 1.87— | Same color | 1.35— | 1.78— | 2.29— |
| #C9B7E3 | 2.53— | 1.35— | Same color | 1.32— | 1.70— |
| #E0D6EA | 3.33AA Large | 1.78— | 1.32— | Same color | 1.29— |
| #F7F5F1 | 4.29AA Large | 2.29— | 1.70— | 1.29— | Same color |
Shades
Shades and tints (50–950)
