PreviewingGo to this paletteOpen in generator
Code
/* Plum Gray — colorset.net */
:root {
--color-1: #6D6875;
--color-2: #8F7E8F;
--color-3: #AA97A9;
--color-4: #C4B1C3;
--color-5: #DECBDD;
--color-bg: #FAF5FA;
--color-surface: #F1EBF1;
--color-border: #DAD2DA;
--color-text: #514C59;
--color-muted: #6D6875;
--color-primary: #8F7E8F;
--color-on-primary: #000000;
--color-accent: #6D6875;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #100F12;
--color-surface: #1A191D;
--color-border: #2F2C33;
--color-text: #DECBDD;
--color-muted: #8F7D8E;
--color-primary: #8F7E8F;
--color-on-primary: #100F12;
--color-accent: #C4B1C3;
--color-on-accent: #100F12;
}
}
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 #DECBDD | adjusted for contrast · from #6D6875 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #6D6875 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 1 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.72:1 | AAA pass 4.5:1 | |
| Text on surface | 7.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 5.55:1 | AA pass 4.5:1 | |
| Label on accent | 5.40:1 | AA pass 4.5:1 | |
| Primary on background | 3.52:1 | AA Large pass 3:1 | |
| Accent on background | 5.02:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.46:1 | AAA pass 4.5:1 | |
| Text on surface | 11.40:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 5.05:1 | AA pass 4.5:1 | |
| Label on accent | 9.48:1 | AAA pass 4.5:1 | |
| Primary on background | 5.05:1 | AA pass 3:1 | |
| Accent on background | 9.48: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 | #6D6875 (Text 1) | #8F7E8F (Text 2) | #AA97A9 (Text 3) | #C4B1C3 (Text 4) | #DECBDD (Text 5) |
|---|---|---|---|---|---|
| #6D6875 | Same color | 1.43— | 1.98— | 2.68— | 3.52AA Large |
| #8F7E8F | 1.43— | Same color | 1.39— | 1.88— | 2.47— |
| #AA97A9 | 1.98— | 1.39— | Same color | 1.35— | 1.78— |
| #C4B1C3 | 2.68— | 1.88— | 1.35— | Same color | 1.31— |
| #DECBDD | 3.52AA Large | 2.47— | 1.78— | 1.31— | Same color |
Shades
Shades and tints (50–950)
