A five-color palette
Mulberry: a orchid, mulberry and pink color palette
A light orchid and a mulberry purple with a pale pink, a magenta and a dark aubergine. Its hex codes are #dfa0dc, #803579, #ffe7ff, #ab55ac, #2a162a. Open it in Recolor (recolor.page) to see it on a real web page, or copy the code below.
Last updated
| Hex | Nearest CSS name | OKLCH | Black text, AA | White text, AA |
|---|---|---|---|---|
#dfa0dc | Plum (plum) | oklch(78.5% 0.108 328.1) | 10.20:1 passes | 2.06:1 fails |
#803579 | Purple (purple) | oklch(45.7% 0.135 331.3) | 2.70:1 fails | 7.77:1 passes |
#ffe7ff | Lavender Blush (lavenderblush) | oklch(95.4% 0.041 325.9) | 18.13:1 passes | 1.16:1 fails |
#ab55ac | Medium Orchid (mediumorchid) | oklch(58.6% 0.158 326.9) | 4.63:1 passes | 4.54:1 passes |
#2a162a | Midnight Blue (midnightblue) | oklch(23.7% 0.047 326.9) | 1.25:1 fails | 16.85:1 passes |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #ffe7ff, the lightest of the five, takes the background and #2a162a, the darkest, the text, and the page's other greys keep their place between the two; on a dark page the two swap. The other three take the page's colors in their order: the first of them its heaviest brand color, the next the one after. Reorder the swatches and the page reorders with them; mapping explains it, and the Tint choice that keeps a page's greys as they were. To keep text readable, the table above says whether black or white text reaches the WCAG AA ratio of 4.5:1 on each color.
The code below is what Recolor's own Export panel writes for this palette. The Tailwind block is a Tailwind v4 @theme block, and the Coolors link opens the same colors there. To see the palette on your own site first, follow previewing a palette on a real website.
The palette as code
CSS variables
:root {
--color-1: #dfa0dc;
--color-2: #803579;
--color-3: #ffe7ff;
--color-4: #ab55ac;
--color-5: #2a162a;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #dfa0dc;
--color-2: #803579;
--color-3: #ffe7ff;
--color-4: #ab55ac;
--color-5: #2a162a;
--color-primary: #dfa0dc;
--color-secondary: #803579;
--color-accent: #ffe7ff;
}SCSS variables
$color-1: #dfa0dc;
$color-2: #803579;
$color-3: #ffe7ff;
$color-4: #ab55ac;
$color-5: #2a162a;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#dfa0dc",
"#803579",
"#ffe7ff",
"#ab55ac",
"#2a162a"
]
}Hex list
#dfa0dc
#803579
#ffe7ff
#ab55ac
#2a162aCoolors link
https://coolors.co/dfa0dc-803579-ffe7ff-ab55ac-2a162a