A five-color palette
Amethyst: a amethyst, lilac and plum color palette
An amethyst violet with a lilac, a deep purple-navy, a pale pink and a plum. Its hex codes are #beb8ff, #2d1f4c, #aa4ed0, #fee0ff, #893671. 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 |
|---|---|---|---|---|
#beb8ff | Light Steel Blue (lightsteelblue) | oklch(81.3% 0.099 287.8) | 11.49:1 passes | 1.83:1 fails |
#2d1f4c | Midnight Blue (midnightblue) | oklch(28.2% 0.080 295.1) | 1.41:1 fails | 14.87:1 passes |
#aa4ed0 | Medium Orchid (mediumorchid) | oklch(59.5% 0.203 314.6) | 4.71:1 passes | 4.46:1 fails |
#fee0ff | Lavender (lavender) | oklch(94.0% 0.052 325.0) | 17.32:1 passes | 1.21:1 fails |
#893671 | Dark Magenta (darkmagenta) | oklch(46.8% 0.134 340.4) | 2.83:1 fails | 7.42:1 passes |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #fee0ff, the lightest of the five, takes the background and #2d1f4c, 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: #beb8ff;
--color-2: #2d1f4c;
--color-3: #aa4ed0;
--color-4: #fee0ff;
--color-5: #893671;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #beb8ff;
--color-2: #2d1f4c;
--color-3: #aa4ed0;
--color-4: #fee0ff;
--color-5: #893671;
--color-primary: #beb8ff;
--color-secondary: #2d1f4c;
--color-accent: #aa4ed0;
}SCSS variables
$color-1: #beb8ff;
$color-2: #2d1f4c;
$color-3: #aa4ed0;
$color-4: #fee0ff;
$color-5: #893671;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#beb8ff",
"#2d1f4c",
"#aa4ed0",
"#fee0ff",
"#893671"
]
}Hex list
#beb8ff
#2d1f4c
#aa4ed0
#fee0ff
#893671Coolors link
https://coolors.co/beb8ff-2d1f4c-aa4ed0-fee0ff-893671