A five-color palette

Foxglove: a violet, pink and plum color palette

A bright violet with a soft pink, a plum, a pale pink and a dark aubergine. Its hex codes are #af6ae3, #301b35, #efaeee, #8d4169, #ffcddc. Open it in Recolor (recolor.page) to see it on a real web page, or copy the code below.

Last updated

#af6ae3Medium Orchid
#301b35Midnight Blue
#efaeeePlum
#8d4169Brown
#ffcddcPink
Computed with Recolor's own color code (culori, the WCAG 2 contrast ratio), November 12, 2026
HexNearest CSS nameOKLCHBlack text, AAWhite text, AA
#af6ae3Medium Orchid (mediumorchid)oklch(65.0% 0.183 308.5)5.99:1 passes3.50:1 fails
#301b35Midnight Blue (midnightblue)oklch(26.2% 0.055 319.7)1.33:1 fails15.74:1 passes
#efaeeePlum (plum)oklch(83.2% 0.112 327.0)11.96:1 passes1.76:1 fails
#8d4169Brown (brown)oklch(48.6% 0.114 349.4)3.09:1 fails6.79:1 passes
#ffcddcPink (pink)oklch(89.6% 0.059 358.5)15.02:1 passes1.40:1 fails

Using the palette

In Recolor the lightness and the order of the colors are meaning. On a light page #ffcddc, the lightest of the five, takes the background and #301b35, 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: #af6ae3;
  --color-2: #301b35;
  --color-3: #efaeee;
  --color-4: #8d4169;
  --color-5: #ffcddc;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #af6ae3;
  --color-2: #301b35;
  --color-3: #efaeee;
  --color-4: #8d4169;
  --color-5: #ffcddc;
  --color-primary: #af6ae3;
  --color-secondary: #301b35;
  --color-accent: #efaeee;
}

SCSS variables

SCSS
$color-1: #af6ae3;
$color-2: #301b35;
$color-3: #efaeee;
$color-4: #8d4169;
$color-5: #ffcddc;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;

JSON

JSON
{
  "colors": [
    "#af6ae3",
    "#301b35",
    "#efaeee",
    "#8d4169",
    "#ffcddc"
  ]
}

Hex list

Text
#af6ae3
#301b35
#efaeee
#8d4169
#ffcddc

Coolors link

URL
https://coolors.co/af6ae3-301b35-efaeee-8d4169-ffcddc