PreviewingGo to this paletteOpen in generator
Code
/* Violet Orchid Spray — colorset.net */
:root {
--color-1: #E1BEE7;
--color-2: #CE93D8;
--color-3: #BA68C8;
--color-4: #AB47BC;
--color-5: #9C27B0;
--color-bg: #FDF3FF;
--color-surface: #F4E9F6;
--color-border: #DDD0DF;
--color-text: #653D6C;
--color-muted: #766479;
--color-primary: #9C27B0;
--color-on-primary: #FFFFFF;
--color-accent: #9E7DA3;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160A19;
--color-surface: #211423;
--color-border: #37273A;
--color-text: #DCC2E0;
--color-muted: #8F7C92;
--color-primary: #A22FB7;
--color-on-primary: #FFFFFF;
--color-accent: #CE93D8;
--color-on-accent: #160A19;
}
}
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 #E1BEE7 | adjusted for contrast · from #9C27B0 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #9C27B0 | adjusted for contrast · from #E1BEE7 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #9C27B0 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #BA68C8 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.98:1 | AAA pass 4.5:1 | |
| Text on surface | 7.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 6.30:1 | AA pass 4.5:1 | |
| Label on accent | 5.92:1 | AA pass 4.5:1 | |
| Primary on background | 5.84:1 | AA pass 3:1 | |
| Accent on background | 3.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.76:1 | AAA pass 4.5:1 | |
| Text on surface | 10.80:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 5.79:1 | AA pass 4.5:1 | |
| Label on accent | 8.05:1 | AAA pass 4.5:1 | |
| Primary on background | 3.32:1 | AA Large pass 3:1 | |
| Accent on background | 8.05: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 | #E1BEE7 (Text 1) | #CE93D8 (Text 2) | #BA68C8 (Text 3) | #AB47BC (Text 4) | #9C27B0 (Text 5) |
|---|---|---|---|---|---|
| #E1BEE7 | Same color | 1.45— | 2.16— | 2.92— | 3.82AA Large |
| #CE93D8 | 1.45— | Same color | 1.49— | 2.02— | 2.64— |
| #BA68C8 | 2.16— | 1.49— | Same color | 1.35— | 1.77— |
| #AB47BC | 2.92— | 2.02— | 1.35— | Same color | 1.31— |
| #9C27B0 | 3.82AA Large | 2.64— | 1.77— | 1.31— | Same color |
Shades
Shades and tints (50–950)
