PreviewingGo to this paletteOpen in generator
Code
/* Eggplant Purple — colorset.net */
:root {
--color-1: #614051;
--color-2: #735662;
--color-3: #856C73;
--color-4: #978284;
--color-5: #A99895;
--color-bg: #FBF5F4;
--color-surface: #F2ECEB;
--color-border: #DCD2D1;
--color-text: #614051;
--color-muted: #7E6370;
--color-primary: #856C73;
--color-on-primary: #FFFFFF;
--color-accent: #938380;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160C11;
--color-surface: #21161B;
--color-border: #382930;
--color-text: #B2A19E;
--color-muted: #907F7C;
--color-primary: #856C73;
--color-on-primary: #FFFFFF;
--color-accent: #978284;
--color-on-accent: #160C11;
}
}
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 #A99895 | adjusted for contrast · from #614051 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #A99895 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #978284 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.25:1 | AAA pass 4.5:1 | |
| Text on surface | 7.61:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.78:1 | AA pass 4.5:1 | |
| Label on accent | 5.80:1 | AA pass 4.5:1 | |
| Primary on background | 4.43:1 | AA Large pass 3:1 | |
| Accent on background | 3.36:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.75:1 | AAA pass 4.5:1 | |
| Text on surface | 7.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.78:1 | AA pass 4.5:1 | |
| Label on accent | 5.34:1 | AA pass 4.5:1 | |
| Primary on background | 4.01:1 | AA Large pass 3:1 | |
| Accent on background | 5.34:1 | AA 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 | #614051 (Text 1) | #735662 (Text 2) | #856C73 (Text 3) | #978284 (Text 4) | #A99895 (Text 5) |
|---|---|---|---|---|---|
| #614051 | Same color | 1.37— | 1.86— | 2.47— | 3.22AA Large |
| #735662 | 1.37— | Same color | 1.36— | 1.81— | 2.35— |
| #856C73 | 1.86— | 1.36— | Same color | 1.33— | 1.73— |
| #978284 | 2.47— | 1.81— | 1.33— | Same color | 1.30— |
| #A99895 | 3.22AA Large | 2.35— | 1.73— | 1.30— | Same color |
Shades
Shades and tints (50–950)
