A five-color palette
Orchid: a orchid, violet and pale pink color palette
A bright orchid and a deep violet, a dark plum, a muted lilac and a pale pink. Its hex codes are #b66dda, #753391, #301f32, #cab0db, #fecfff. 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 |
|---|---|---|---|---|
#b66dda | Medium Orchid (mediumorchid) | oklch(65.8% 0.171 313.5) | 6.19:1 passes | 3.39:1 fails |
#753391 | Rebecca Purple (rebeccapurple) | oklch(45.4% 0.156 314.3) | 2.64:1 fails | 7.96:1 passes |
#301f32 | Midnight Blue (midnightblue) | oklch(26.9% 0.042 323.0) | 1.37:1 fails | 15.35:1 passes |
#cab0db | Thistle (thistle) | oklch(79.4% 0.066 311.9) | 10.74:1 passes | 1.95:1 fails |
#fecfff | Lavender (lavender) | oklch(91.0% 0.082 325.6) | 15.58:1 passes | 1.35:1 fails |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #fecfff, the lightest of the five, takes the background and #301f32, 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: #b66dda;
--color-2: #753391;
--color-3: #301f32;
--color-4: #cab0db;
--color-5: #fecfff;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #b66dda;
--color-2: #753391;
--color-3: #301f32;
--color-4: #cab0db;
--color-5: #fecfff;
--color-primary: #b66dda;
--color-secondary: #753391;
--color-accent: #301f32;
}SCSS variables
$color-1: #b66dda;
$color-2: #753391;
$color-3: #301f32;
$color-4: #cab0db;
$color-5: #fecfff;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#b66dda",
"#753391",
"#301f32",
"#cab0db",
"#fecfff"
]
}Hex list
#b66dda
#753391
#301f32
#cab0db
#fecfffCoolors link
https://coolors.co/b66dda-753391-301f32-cab0db-fecfff