PreviewingGo to this paletteOpen in generator
Code
/* Merger Plum — colorset.net */
:root {
--color-1: #F8F6F4;
--color-2: #5E2750;
--color-3: #4A7FB5;
--color-4: #E3D5DD;
--color-5: #1F161D;
--color-bg: #F8F6F4;
--color-surface: #EFEDEB;
--color-border: #D8D4CF;
--color-text: #1F161D;
--color-muted: #71666F;
--color-primary: #4479AF;
--color-on-primary: #FFFFFF;
--color-accent: #5E2750;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1F161D;
--color-surface: #2A2028;
--color-border: #41343E;
--color-text: #F8F6F4;
--color-muted: #92908E;
--color-primary: #4479AF;
--color-on-primary: #FFFFFF;
--color-accent: #955984;
--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 | 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 | adjusted for contrast · from #4A7FB5 | adjusted for contrast · from #4A7FB5 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #4A7FB5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.36:1 | AAA pass 4.5:1 | |
| Text on surface | 15.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 11.16:1 | AAA pass 4.5:1 | |
| Primary on background | 4.23:1 | AA Large pass 3:1 | |
| Accent on background | 10.35:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.36:1 | AAA pass 4.5:1 | |
| Text on surface | 14.58:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.54:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 5.20:1 | AA pass 4.5:1 | |
| Primary on background | 3.86:1 | AA Large pass 3:1 | |
| Accent on background | 3.39: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 | #F8F6F4 (Text 1) | #5E2750 (Text 2) | #4A7FB5 (Text 3) | #E3D5DD (Text 4) | #1F161D (Text 5) |
|---|---|---|---|---|---|
| #F8F6F4 | Same color | 10.35AAA | 3.90AA Large | 1.31— | 16.36AAA |
| #5E2750 | 10.35AAA | Same color | 2.65— | 7.88AAA | 1.58— |
| #4A7FB5 | 3.90AA Large | 2.65— | Same color | 2.97— | 4.19AA Large |
| #E3D5DD | 1.31— | 7.88AAA | 2.97— | Same color | 12.45AAA |
| #1F161D | 16.36AAA | 1.58— | 4.19AA Large | 12.45AAA | Same color |
Shades
Shades and tints (50–950)
