PreviewingGo to this paletteOpen in generator
Code
/* Plum Liqueur — colorset.net */
:root {
--color-1: #2E0927;
--color-2: #4A1942;
--color-3: #5D3954;
--color-4: #8E4585;
--color-5: #C8A2C8;
--color-bg: #FEF2FE;
--color-surface: #F5E9F5;
--color-border: #DECFDE;
--color-text: #2E0927;
--color-muted: #7A6274;
--color-primary: #8E4585;
--color-on-primary: #FFFFFF;
--color-accent: #9F7B9F;
--color-on-accent: #2E0927;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170A14;
--color-surface: #22141F;
--color-border: #392734;
--color-text: #C2A6C2;
--color-muted: #917C91;
--color-primary: #944B8B;
--color-on-primary: #FFFFFF;
--color-accent: #805A76;
--color-on-accent: #FFFFFF;
}
}
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 #C8A2C8 | adjusted for contrast · from #2E0927 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #C8A2C8 |
| Muted text | derived | derived |
| Primary | from palette · color 4 | adjusted for contrast · from #8E4585 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C8A2C8 | adjusted for contrast · from #8E4585 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.33:1 | AAA pass 4.5:1 | |
| Text on surface | 15.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 6.29:1 | AA pass 4.5:1 | |
| Label on accent | 4.90:1 | AA pass 4.5:1 | |
| Primary on background | 5.79:1 | AA pass 3:1 | |
| Accent on background | 3.33:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.74:1 | AAA pass 4.5:1 | |
| Text on surface | 8.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 5.77:1 | AA pass 4.5:1 | |
| Label on accent | 5.77:1 | AA pass 4.5:1 | |
| Primary on background | 3.34:1 | AA Large pass 3:1 | |
| Accent on background | 3.34:1 | AA Large 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 | #2E0927 (Text 1) | #4A1942 (Text 2) | #5D3954 (Text 3) | #8E4585 (Text 4) | #C8A2C8 (Text 5) |
|---|---|---|---|---|---|
| #2E0927 | Same color | 1.27— | 1.84— | 2.82— | 7.98AAA |
| #4A1942 | 1.27— | Same color | 1.44— | 2.21— | 6.27AA |
| #5D3954 | 1.84— | 1.44— | Same color | 1.53— | 4.34AA Large |
| #8E4585 | 2.82— | 2.21— | 1.53— | Same color | 2.83— |
| #C8A2C8 | 7.98AAA | 6.27AA | 4.34AA Large | 2.83— | Same color |
Shades
Shades and tints (50–950)
