A five-color palette

Periwinkle: a periwinkle, indigo and ink color palette

Periwinkle and indigo in five steps, from a pale lavender white to an ink. Its hex codes are #b4bcfe, #4a4a93, #e5ebff, #7574c6, #1b192c. Open it in Recolor (recolor.page) to see it on a real web page, or copy the code below.

Last updated

#b4bcfeLight Steel Blue
#4a4a93Dark Slate Blue
#e5ebffLavender
#7574c6Medium Purple
#1b192cMidnight Blue
Computed with Recolor's own color code (culori, the WCAG 2 contrast ratio), November 12, 2026
HexNearest CSS nameOKLCHBlack text, AAWhite text, AA
#b4bcfeLight Steel Blue (lightsteelblue)oklch(81.3% 0.094 278.7)11.57:1 passes1.82:1 fails
#4a4a93Dark Slate Blue (darkslateblue)oklch(44.7% 0.117 280.6)2.69:1 fails7.80:1 passes
#e5ebffLavender (lavender)oklch(94.1% 0.028 272.5)17.66:1 passes1.19:1 fails
#7574c6Medium Purple (mediumpurple)oklch(59.6% 0.123 282.6)5.07:1 passes4.14:1 fails
#1b192cMidnight Blue (midnightblue)oklch(22.6% 0.037 287.9)1.22:1 fails17.18:1 passes

Using the palette

In Recolor the lightness and the order of the colors are meaning. On a light page #e5ebff, the lightest of the five, takes the background and #1b192c, 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: #b4bcfe;
  --color-2: #4a4a93;
  --color-3: #e5ebff;
  --color-4: #7574c6;
  --color-5: #1b192c;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #b4bcfe;
  --color-2: #4a4a93;
  --color-3: #e5ebff;
  --color-4: #7574c6;
  --color-5: #1b192c;
  --color-primary: #b4bcfe;
  --color-secondary: #4a4a93;
  --color-accent: #e5ebff;
}

SCSS variables

SCSS
$color-1: #b4bcfe;
$color-2: #4a4a93;
$color-3: #e5ebff;
$color-4: #7574c6;
$color-5: #1b192c;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;

JSON

JSON
{
  "colors": [
    "#b4bcfe",
    "#4a4a93",
    "#e5ebff",
    "#7574c6",
    "#1b192c"
  ]
}

Hex list

Text
#b4bcfe
#4a4a93
#e5ebff
#7574c6
#1b192c

Coolors link

URL
https://coolors.co/b4bcfe-4a4a93-e5ebff-7574c6-1b192c