A five-color palette
Iris: a violet, iris and lilac color palette
Violet and iris purple with a midnight violet, lilac and a near-white lavender. Its hex codes are #694696, #9876c5, #2e2243, #cabff4, #eedeff. 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 |
|---|---|---|---|---|
#694696 | Rebecca Purple (rebeccapurple) | oklch(47.1% 0.128 301.9) | 2.92:1 fails | 7.20:1 passes |
#9876c5 | Medium Purple (mediumpurple) | oklch(63.0% 0.121 302.9) | 5.73:1 passes | 3.66:1 fails |
#2e2243 | Midnight Blue (midnightblue) | oklch(28.3% 0.060 299.3) | 1.43:1 fails | 14.73:1 passes |
#cabff4 | Thistle (thistle) | oklch(83.1% 0.074 294.2) | 12.27:1 passes | 1.71:1 fails |
#eedeff | Lavender (lavender) | oklch(92.3% 0.047 307.3) | 16.53:1 passes | 1.27:1 fails |
Using the palette
In Recolor the order of the colors is meaning: swatch 1 takes the page's heaviest brand color, swatch 2 the next, and the page's greys take a tint of swatch 1 (how that works is in mapping). Reorder the swatches and the page reorders with them. 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; #2e2243 is the darkest of the five.
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: #694696;
--color-2: #9876c5;
--color-3: #2e2243;
--color-4: #cabff4;
--color-5: #eedeff;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #694696;
--color-2: #9876c5;
--color-3: #2e2243;
--color-4: #cabff4;
--color-5: #eedeff;
--color-primary: #694696;
--color-secondary: #9876c5;
--color-accent: #2e2243;
}SCSS variables
$color-1: #694696;
$color-2: #9876c5;
$color-3: #2e2243;
$color-4: #cabff4;
$color-5: #eedeff;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#694696",
"#9876c5",
"#2e2243",
"#cabff4",
"#eedeff"
]
}Hex list
#694696
#9876c5
#2e2243
#cabff4
#eedeffCoolors link
https://coolors.co/694696-9876c5-2e2243-cabff4-eedeff