A five-color palette

Grape: a grape, lilac and lavender color palette

One violet in five steps: grape and a dusky purple between a lilac, a pale lavender and a near-black. Its hex codes are #9561bb, #eed6ff, #66487d, #bea1f3, #1d1723. Open it in Recolor (recolor.page) to see it on a real web page, or copy the code below.

Last updated

#9561bbMedium Purple
#eed6ffLavender
#66487dDark Slate Blue
#bea1f3Plum
#1d1723Midnight Blue
Computed with Recolor's own color code (culori, the WCAG 2 contrast ratio), November 12, 2026
HexNearest CSS nameOKLCHBlack text, AAWhite text, AA
#9561bbMedium Purple (mediumpurple)oklch(58.6% 0.142 309.3)4.71:1 passes4.46:1 fails
#eed6ffLavender (lavender)oklch(90.8% 0.061 311.3)15.70:1 passes1.34:1 fails
#66487dDark Slate Blue (darkslateblue)oklch(45.7% 0.090 309.3)2.79:1 fails7.53:1 passes
#bea1f3Plum (plum)oklch(76.5% 0.119 299.9)9.58:1 passes2.19:1 fails
#1d1723Midnight Blue (midnightblue)oklch(21.7% 0.025 307.2)1.20:1 fails17.51:1 passes

Using the palette

In Recolor the lightness and the order of the colors are meaning. On a light page #eed6ff, the lightest of the five, takes the background and #1d1723, 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

CSS
:root {
  --color-1: #9561bb;
  --color-2: #eed6ff;
  --color-3: #66487d;
  --color-4: #bea1f3;
  --color-5: #1d1723;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #9561bb;
  --color-2: #eed6ff;
  --color-3: #66487d;
  --color-4: #bea1f3;
  --color-5: #1d1723;
  --color-primary: #9561bb;
  --color-secondary: #eed6ff;
  --color-accent: #66487d;
}

SCSS variables

SCSS
$color-1: #9561bb;
$color-2: #eed6ff;
$color-3: #66487d;
$color-4: #bea1f3;
$color-5: #1d1723;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;

JSON

JSON
{
  "colors": [
    "#9561bb",
    "#eed6ff",
    "#66487d",
    "#bea1f3",
    "#1d1723"
  ]
}

Hex list

Text
#9561bb
#eed6ff
#66487d
#bea1f3
#1d1723

Coolors link

URL
https://coolors.co/9561bb-eed6ff-66487d-bea1f3-1d1723