PreviewingGo to this paletteOpen in generator
Code
/* Plum Pistachio — colorset.net */
:root {
--color-1: #4A0E4E;
--color-2: #81C784;
--color-3: #AED581;
--color-4: #C8E6C9;
--color-5: #E8F5E8;
--color-bg: #E8F5E8;
--color-surface: #F3FBF3;
--color-border: #CEDDCE;
--color-text: #441B46;
--color-muted: #7A667B;
--color-primary: #539757;
--color-on-primary: #000000;
--color-accent: #808C80;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170A18;
--color-surface: #221422;
--color-border: #382739;
--color-text: #E8F5E8;
--color-muted: #808C80;
--color-primary: #81C784;
--color-on-primary: #170A18;
--color-accent: #8B4E8F;
--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 | from palette · color 5 | adjusted for contrast · from #4A0E4E |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4A0E4E | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #81C784 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #81C784 | adjusted for contrast · from #4A0E4E |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.51:1 | AAA pass 4.5:1 | |
| Text on surface | 13.35:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.65:1 | AA pass 4.5:1 | |
| Label on primary | 5.93:1 | AA pass 4.5:1 | |
| Label on accent | 5.98:1 | AA pass 4.5:1 | |
| Primary on background | 3.15:1 | AA Large pass 3:1 | |
| Accent on background | 3.12:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.07:1 | AAA pass 4.5:1 | |
| Text on surface | 15.66:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.47:1 | AA pass 4.5:1 | |
| Label on primary | 9.55:1 | AAA pass 4.5:1 | |
| Label on accent | 5.86:1 | AA pass 4.5:1 | |
| Primary on background | 9.55:1 | AAA pass 3:1 | |
| Accent on background | 3.28: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 | #4A0E4E (Text 1) | #81C784 (Text 2) | #AED581 (Text 3) | #C8E6C9 (Text 4) | #E8F5E8 (Text 5) |
|---|---|---|---|---|---|
| #4A0E4E | Same color | 7.13AAA | 8.63AAA | 10.67AAA | 12.74AAA |
| #81C784 | 7.13AAA | Same color | 1.21— | 1.50— | 1.79— |
| #AED581 | 8.63AAA | 1.21— | Same color | 1.24— | 1.48— |
| #C8E6C9 | 10.67AAA | 1.50— | 1.24— | Same color | 1.19— |
| #E8F5E8 | 12.74AAA | 1.79— | 1.48— | 1.19— | Same color |
Shades
Shades and tints (50–950)
