A five-color palette

Lavender: a lavender, plum gray and lilac color palette

Lavender and a gray plum with a dark aubergine, a soft lilac and a pale violet white. Its hex codes are #9b85bb, #584a6a, #201a27, #d1c3e3, #e9dcff. Open it in Recolor (recolor.page) to see it on a real web page, or copy the code below.

Last updated

#9b85bbLight Slate Grey
#584a6aDark Slate Blue
#201a27Midnight Blue
#d1c3e3Thistle
#e9dcffLavender
Computed with Recolor's own color code (culori, the WCAG 2 contrast ratio), October 8, 2026
HexNearest CSS nameOKLCHBlack text, AAWhite text, AA
#9b85bbLight Slate Grey (lightslategrey)oklch(65.6% 0.082 302.9)6.47:1 passes3.25:1 fails
#584a6aDark Slate Blue (darkslateblue)oklch(43.6% 0.054 304.2)2.60:1 fails8.07:1 passes
#201a27Midnight Blue (midnightblue)oklch(23.1% 0.026 305.5)1.24:1 fails16.96:1 passes
#d1c3e3Thistle (thistle)oklch(83.9% 0.046 305.2)12.63:1 passes1.66:1 fails
#e9dcffLavender (lavender)oklch(91.6% 0.049 302.3)16.15:1 passes1.30: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; #201a27 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

CSS
:root {
  --color-1: #9b85bb;
  --color-2: #584a6a;
  --color-3: #201a27;
  --color-4: #d1c3e3;
  --color-5: #e9dcff;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #9b85bb;
  --color-2: #584a6a;
  --color-3: #201a27;
  --color-4: #d1c3e3;
  --color-5: #e9dcff;
  --color-primary: #9b85bb;
  --color-secondary: #584a6a;
  --color-accent: #201a27;
}

SCSS variables

SCSS
$color-1: #9b85bb;
$color-2: #584a6a;
$color-3: #201a27;
$color-4: #d1c3e3;
$color-5: #e9dcff;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;

JSON

JSON
{
  "colors": [
    "#9b85bb",
    "#584a6a",
    "#201a27",
    "#d1c3e3",
    "#e9dcff"
  ]
}

Hex list

Text
#9b85bb
#584a6a
#201a27
#d1c3e3
#e9dcff

Coolors link

URL
https://coolors.co/9b85bb-584a6a-201a27-d1c3e3-e9dcff