PreviewingGo to this paletteOpen in generator
Code
/* Plum Dining — colorset.net */
:root {
--color-1: #F8F4F4;
--color-2: #722C6E;
--color-3: #CEA856;
--color-4: #CDB4D2;
--color-5: #251323;
--color-bg: #F8F4F4;
--color-surface: #FEFCFC;
--color-border: #E3DADA;
--color-text: #251323;
--color-muted: #7B6578;
--color-primary: #722C6E;
--color-on-primary: #FFFFFF;
--color-accent: #AB8631;
--color-on-accent: #251323;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #251323;
--color-surface: #301E2E;
--color-border: #473344;
--color-text: #F8F4F4;
--color-muted: #938F8F;
--color-primary: #9E5598;
--color-on-primary: #FFFFFF;
--color-accent: #CEA856;
--color-on-accent: #251323;
}
}
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 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #722C6E |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #CEA856 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.08:1 | AAA pass 4.5:1 | |
| Text on surface | 17.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.84:1 | AA pass 4.5:1 | |
| Label on primary | 9.13:1 | AAA pass 4.5:1 | |
| Label on accent | 5.17:1 | AA pass 4.5:1 | |
| Primary on background | 8.36:1 | AAA pass 3:1 | |
| Accent on background | 3.11:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.08:1 | AAA pass 4.5:1 | |
| Text on surface | 14.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.49:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 7.83:1 | AAA pass 4.5:1 | |
| Primary on background | 3.52:1 | AA Large pass 3:1 | |
| Accent on background | 7.83: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 | #F8F4F4 (Text 1) | #722C6E (Text 2) | #CEA856 (Text 3) | #CDB4D2 (Text 4) | #251323 (Text 5) |
|---|---|---|---|---|---|
| #F8F4F4 | Same color | 8.36AAA | 2.06— | 1.74— | 16.08AAA |
| #722C6E | 8.36AAA | Same color | 4.07AA Large | 4.80AA | 1.92— |
| #CEA856 | 2.06— | 4.07AA Large | Same color | 1.18— | 7.83AAA |
| #CDB4D2 | 1.74— | 4.80AA | 1.18— | Same color | 9.24AAA |
| #251323 | 16.08AAA | 1.92— | 7.83AAA | 9.24AAA | Same color |
Shades
Shades and tints (50–950)
