PreviewingGo to this paletteOpen in generator
Code
/* Orchid Lilac — colorset.net */
:root {
--color-1: #DA70D6;
--color-2: #E0B0FF;
--color-3: #EE82EE;
--color-4: #F0C0FF;
--color-5: #F8D7FF;
--color-bg: #FDF3FF;
--color-surface: #F4EAF6;
--color-border: #DCD0DF;
--color-text: #6B3D69;
--color-muted: #796477;
--color-primary: #C960C6;
--color-on-primary: #000000;
--color-accent: #9B7CA1;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #180917;
--color-surface: #221321;
--color-border: #392738;
--color-text: #F4DAF9;
--color-muted: #8D7A91;
--color-primary: #DA70D6;
--color-on-primary: #180917;
--color-accent: #F0C0FF;
--color-on-accent: #180917;
}
}
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 | adjusted for contrast · from #F8D7FF | adjusted for contrast · from #DA70D6 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #DA70D6 | adjusted for contrast · from #F8D7FF |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #DA70D6 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #DA70D6 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.79:1 | AAA pass 4.5:1 | |
| Text on surface | 7.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 5.97:1 | AA pass 4.5:1 | |
| Label on accent | 5.79:1 | AA pass 4.5:1 | |
| Primary on background | 3.26:1 | AA Large pass 3:1 | |
| Accent on background | 3.36:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.90:1 | AAA pass 4.5:1 | |
| Text on surface | 13.73:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.88:1 | AA pass 4.5:1 | |
| Label on primary | 6.67:1 | AA pass 4.5:1 | |
| Label on accent | 12.56:1 | AAA pass 4.5:1 | |
| Primary on background | 6.67:1 | AA pass 3:1 | |
| Accent on background | 12.56: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 | #DA70D6 (Text 1) | #E0B0FF (Text 2) | #EE82EE (Text 3) | #F0C0FF (Text 4) | #F8D7FF (Text 5) |
|---|---|---|---|---|---|
| #DA70D6 | Same color | 1.63— | 1.25— | 1.88— | 2.22— |
| #E0B0FF | 1.63— | Same color | 1.30— | 1.16— | 1.37— |
| #EE82EE | 1.25— | 1.30— | Same color | 1.51— | 1.78— |
| #F0C0FF | 1.88— | 1.16— | 1.51— | Same color | 1.18— |
| #F8D7FF | 2.22— | 1.37— | 1.78— | 1.18— | Same color |
Shades
Shades and tints (50–950)
