PreviewingGo to this paletteOpen in generator
Code
/* Plum Red — colorset.net */
:root {
--color-1: #5D3954;
--color-2: #8E4585;
--color-3: #B565A7;
--color-4: #C779D0;
--color-5: #E0A3FF;
--color-bg: #FBF4FF;
--color-surface: #F2EAF7;
--color-border: #DBD0E1;
--color-text: #5D3954;
--color-muted: #7B6375;
--color-primary: #A8599B;
--color-on-primary: #FFFFFF;
--color-accent: #AC71C9;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170B14;
--color-surface: #21151E;
--color-border: #382834;
--color-text: #CBB6D7;
--color-muted: #8B7C94;
--color-primary: #A8599B;
--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 #E0A3FF | adjusted for contrast · from #5D3954 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #E0A3FF |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B565A7 | adjusted for contrast · from #B565A7 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C779D0 | adjusted for contrast · from #8E4585 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.94:1 | AAA pass 4.5:1 | |
| Text on surface | 8.21:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 5.96:1 | AA pass 4.5:1 | |
| Primary on background | 4.27:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.24:1 | AAA pass 4.5:1 | |
| Text on surface | 9.42:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 5.77:1 | AA pass 4.5:1 | |
| Primary on background | 4.17:1 | AA Large 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) | #8E4585 (Text 2) | #B565A7 (Text 3) | #C779D0 (Text 4) | #E0A3FF (Text 5) |
|---|---|---|---|---|---|
| #5D3954 | Same color | 1.53— | 2.47— | 3.25AA Large | 4.98AA |
| #8E4585 | 1.53— | Same color | 1.61— | 2.12— | 3.25AA Large |
| #B565A7 | 2.47— | 1.61— | Same color | 1.31— | 2.02— |
| #C779D0 | 3.25AA Large | 2.12— | 1.31— | Same color | 1.53— |
| #E0A3FF | 4.98AA | 3.25AA Large | 2.02— | 1.53— | Same color |
Shades
Shades and tints (50–950)
