PreviewingGo to this paletteOpen in generator
Code
/* Dried Plum — colorset.net */
:root {
--color-1: #5D3954;
--color-2: #714D68;
--color-3: #85617C;
--color-4: #997590;
--color-5: #AD89A4;
--color-bg: #FFF3FB;
--color-surface: #F5E9F2;
--color-border: #DFD0DB;
--color-text: #5D3954;
--color-muted: #7B6375;
--color-primary: #997590;
--color-on-primary: #000000;
--color-accent: #714D68;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170B14;
--color-surface: #21151E;
--color-border: #382834;
--color-text: #BA9AB2;
--color-muted: #937B8D;
--color-primary: #997590;
--color-on-primary: #170B14;
--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 #AD89A4 | adjusted for contrast · from #5D3954 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #AD89A4 |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #85617C |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.93:1 | AAA pass 4.5:1 | |
| Text on surface | 8.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 5.30:1 | AA pass 4.5:1 | |
| Label on accent | 7.09:1 | AAA pass 4.5:1 | |
| Primary on background | 3.67:1 | AA Large pass 3:1 | |
| Accent on background | 6.57:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.63:1 | AAA pass 4.5:1 | |
| Text on surface | 7.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.84:1 | AA pass 4.5:1 | |
| Label on accent | 5.77:1 | AA pass 4.5:1 | |
| Primary on background | 4.84:1 | AA pass 3:1 | |
| Accent on background | 3.33: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 | #5D3954 (Text 1) | #714D68 (Text 2) | #85617C (Text 3) | #997590 (Text 4) | #AD89A4 (Text 5) |
|---|---|---|---|---|---|
| #5D3954 | Same color | 1.36— | 1.84— | 2.43— | 3.16AA Large |
| #714D68 | 1.36— | Same color | 1.35— | 1.79— | 2.33— |
| #85617C | 1.84— | 1.35— | Same color | 1.33— | 1.72— |
| #997590 | 2.43— | 1.79— | 1.33— | Same color | 1.30— |
| #AD89A4 | 3.16AA Large | 2.33— | 1.72— | 1.30— | Same color |
Shades
Shades and tints (50–950)
