PreviewingGo to this paletteOpen in generator
Code
/* Plum Shadow — colorset.net */
:root {
--color-1: #331A33;
--color-2: #4D2D4D;
--color-3: #664066;
--color-4: #805380;
--color-5: #996699;
--color-bg: #FEF2FE;
--color-surface: #F5E9F5;
--color-border: #DECFDE;
--color-text: #331A33;
--color-muted: #796579;
--color-primary: #966396;
--color-on-primary: #FFFFFF;
--color-accent: #4D2D4D;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150C15;
--color-surface: #1F161F;
--color-border: #352935;
--color-text: #B79BB6;
--color-muted: #917B90;
--color-primary: #966396;
--color-on-primary: #FFFFFF;
--color-accent: #795C78;
--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 #996699 | adjusted for contrast · from #331A33 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #996699 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #996699 | adjusted for contrast · from #996699 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #805380 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.48:1 | AAA pass 4.5:1 | |
| Text on surface | 13.36:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.90:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 11.68:1 | AAA pass 4.5:1 | |
| Primary on background | 4.28:1 | AA Large pass 3:1 | |
| Accent on background | 10.76:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.65:1 | AAA pass 4.5:1 | |
| Text on surface | 7.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 5.81:1 | AA pass 4.5:1 | |
| Primary on background | 4.13:1 | AA Large pass 3:1 | |
| Accent on background | 3.30: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 | #331A33 (Text 1) | #4D2D4D (Text 2) | #664066 (Text 3) | #805380 (Text 4) | #996699 (Text 5) |
|---|---|---|---|---|---|
| #331A33 | Same color | 1.35— | 1.86— | 2.59— | 3.53AA Large |
| #4D2D4D | 1.35— | Same color | 1.38— | 1.93— | 2.62— |
| #664066 | 1.86— | 1.38— | Same color | 1.39— | 1.89— |
| #805380 | 2.59— | 1.93— | 1.39— | Same color | 1.36— |
| #996699 | 3.53AA Large | 2.62— | 1.89— | 1.36— | Same color |
Shades
Shades and tints (50–950)
