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

#b66ddaMedium Orchid
#753391Rebecca Purple
#301f32Midnight Blue
#cab0dbThistle
#fecfffLavender
Computed with Recolor's own color code (culori, the WCAG 2 contrast ratio), October 8, 2026
HexNearest CSS nameOKLCHBlack text, AAWhite text, AA
#b66ddaMedium Orchid (mediumorchid)oklch(65.8% 0.171 313.5)6.19:1 passes3.39:1 fails
#753391Rebecca Purple (rebeccapurple)oklch(45.4% 0.156 314.3)2.64:1 fails7.96:1 passes
#301f32Midnight Blue (midnightblue)oklch(26.9% 0.042 323.0)1.37:1 fails15.35:1 passes
#cab0dbThistle (thistle)oklch(79.4% 0.066 311.9)10.74:1 passes1.95:1 fails
#fecfffLavender (lavender)oklch(91.0% 0.082 325.6)15.58:1 passes1.35: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; #301f32 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: #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

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

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

JSON
{
  "colors": [
    "#b66dda",
    "#753391",
    "#301f32",
    "#cab0db",
    "#fecfff"
  ]
}

Hex list

Text
#b66dda
#753391
#301f32
#cab0db
#fecfff

Coolors link

URL
https://coolors.co/b66dda-753391-301f32-cab0db-fecfff