PreviewingGo to this paletteOpen in generator
Code
/* Mulberry Purple — colorset.net */
:root {
--color-1: #C54B8C;
--color-2: #D061A0;
--color-3: #DB77B4;
--color-4: #E68DC8;
--color-5: #F1A3DC;
--color-bg: #FFF3FB;
--color-surface: #F7E9F2;
--color-border: #E0CFDB;
--color-text: #753B58;
--color-muted: #7F636F;
--color-primary: #C24889;
--color-on-primary: #FFFFFF;
--color-accent: #A55D93;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B0911;
--color-surface: #26121C;
--color-border: #3D2530;
--color-text: #D7B5CC;
--color-muted: #947A8C;
--color-primary: #C24889;
--color-on-primary: #FFFFFF;
--color-accent: #F1A3DC;
--color-on-accent: #1B0911;
}
}
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 #F1A3DC | adjusted for contrast · from #C54B8C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #C54B8C | adjusted for contrast · from #F1A3DC |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C54B8C | adjusted for contrast · from #C54B8C |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C54B8C | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.72:1 | AAA pass 4.5:1 | |
| Text on surface | 7.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 4.58:1 | AA pass 4.5:1 | |
| Primary on background | 4.25:1 | AA Large pass 3:1 | |
| Accent on background | 4.24:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.40:1 | AAA pass 4.5:1 | |
| Text on surface | 9.59:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 10.07:1 | AAA pass 4.5:1 | |
| Primary on background | 4.19:1 | AA Large pass 3:1 | |
| Accent on background | 10.07: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 | #C54B8C (Text 1) | #D061A0 (Text 2) | #DB77B4 (Text 3) | #E68DC8 (Text 4) | #F1A3DC (Text 5) |
|---|---|---|---|---|---|
| #C54B8C | Same color | 1.24— | 1.54— | 1.89— | 2.31— |
| #D061A0 | 1.24— | Same color | 1.24— | 1.53— | 1.87— |
| #DB77B4 | 1.54— | 1.24— | Same color | 1.23— | 1.51— |
| #E68DC8 | 1.89— | 1.53— | 1.23— | Same color | 1.22— |
| #F1A3DC | 2.31— | 1.87— | 1.51— | 1.22— | Same color |
Shades
Shades and tints (50–950)
