PreviewingGo to this paletteOpen in generator
Code
/* Plum Blossom — colorset.net */
:root {
--color-1: #DDA0DD;
--color-2: #E3B3E3;
--color-3: #E9C6E9;
--color-4: #EFD9EF;
--color-5: #F5ECF5;
--color-bg: #F5ECF5;
--color-surface: #FAF5FA;
--color-border: #DED2DE;
--color-text: #6A3E6B;
--color-muted: #796479;
--color-primary: #AF75B0;
--color-on-primary: #000000;
--color-accent: #8F878F;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170A17;
--color-surface: #221422;
--color-border: #382738;
--color-text: #F5ECF5;
--color-muted: #8C848C;
--color-primary: #DDA0DD;
--color-on-primary: #170A17;
--color-accent: #E9C6E9;
--color-on-accent: #170A17;
}
}
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 #DDA0DD |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #DDA0DD | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #DDA0DD | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #DDA0DD | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.24:1 | AAA pass 4.5:1 | |
| Text on surface | 7.76:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.65:1 | AA pass 4.5:1 | |
| Label on primary | 5.99:1 | AA pass 4.5:1 | |
| Label on accent | 6.03:1 | AA pass 4.5:1 | |
| Primary on background | 3.04:1 | AA Large pass 3:1 | |
| Accent on background | 3.02:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.66:1 | AAA pass 4.5:1 | |
| Text on surface | 15.28:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.31:1 | AA pass 4.5:1 | |
| Label on primary | 9.29:1 | AAA pass 4.5:1 | |
| Label on accent | 12.56:1 | AAA pass 4.5:1 | |
| Primary on background | 9.29:1 | AAA pass 3:1 | |
| Accent on background | 12.56:1 | AAA 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 | #DDA0DD (Text 1) | #E3B3E3 (Text 2) | #E9C6E9 (Text 3) | #EFD9EF (Text 4) | #F5ECF5 (Text 5) |
|---|---|---|---|---|---|
| #DDA0DD | Same color | 1.17— | 1.35— | 1.56— | 1.79— |
| #E3B3E3 | 1.17— | Same color | 1.16— | 1.34— | 1.54— |
| #E9C6E9 | 1.35— | 1.16— | Same color | 1.15— | 1.33— |
| #EFD9EF | 1.56— | 1.34— | 1.15— | Same color | 1.15— |
| #F5ECF5 | 1.79— | 1.54— | 1.33— | 1.15— | Same color |
Shades
Shades and tints (50–950)
