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

#694696Rebecca Purple
#9876c5Medium Purple
#2e2243Midnight Blue
#cabff4Thistle
#eedeffLavender
Computed with Recolor's own color code (culori, the WCAG 2 contrast ratio), October 8, 2026
HexNearest CSS nameOKLCHBlack text, AAWhite text, AA
#694696Rebecca Purple (rebeccapurple)oklch(47.1% 0.128 301.9)2.92:1 fails7.20:1 passes
#9876c5Medium Purple (mediumpurple)oklch(63.0% 0.121 302.9)5.73:1 passes3.66:1 fails
#2e2243Midnight Blue (midnightblue)oklch(28.3% 0.060 299.3)1.43:1 fails14.73:1 passes
#cabff4Thistle (thistle)oklch(83.1% 0.074 294.2)12.27:1 passes1.71:1 fails
#eedeffLavender (lavender)oklch(92.3% 0.047 307.3)16.53:1 passes1.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

CSS
: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

CSS
@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

SCSS
$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

JSON
{
  "colors": [
    "#694696",
    "#9876c5",
    "#2e2243",
    "#cabff4",
    "#eedeff"
  ]
}

Hex list

Text
#694696
#9876c5
#2e2243
#cabff4
#eedeff

Coolors link

URL
https://coolors.co/694696-9876c5-2e2243-cabff4-eedeff