Skip to content

Thistle

Hex #D8BFD8, rgb(216 191 216). A purple CSS named color.

Open in palette generator

Thistle color codes

Click any value to copy it.

HEX
RGB
HSL
HSV
HWB
CMYK
OKLCH
OKLab
Lab
LCH
CSS keyword

About Thistle

Thistle is a light muted purple with the hex code #D8BFD8. In RGB it is made of 216 red, 191 green and 216 blue; in HSL its hue is 300°, with 24% saturation and 80% lightness. Its perceptual lightness (OKLCH L) is 83.3%.

It is a CSS named color, so you can write "thistle" anywhere CSS accepts a color. Against white it has a contrast ratio of 1.70:1 and against black 12.36:1, so black text reads better on it and passes WCAG AA for normal text.

Tints, shades and tones

Thistle mixed step by step with white, black and middle gray (#808080).

Tints (with white)

Shades (with black)

Tones (with gray)

Thistle 50-950 scale

A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.

Colors that go with Thistle

Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.

Complementary

Analogous

Triadic

Split complementary

Tetradic

Square

Monochromatic

Contrast and readability

WCAG 2 contrast of Thistle with white and black. The readable text color on Thistle is black.

Thistle textSmall text on white

On white1.70:1

  • AA fail
  • AA Large fail
  • AAA fail
  • UI 3:1 fail

APCA Lc 30

Thistle textSmall text on black

On black12.36:1

  • AA pass
  • AA Large pass
  • AAA pass
  • UI 3:1 pass

APCA Lc -72

Black text on Thistle (#000000)

Test any pair in the contrast checker.

Color blindness preview

How Thistle appears with each type of color vision deficiency (simulated with the Machado model).

  • Protanopia#BEC5D9
  • Deuteranopia#C3C8D7
  • Tritanopia#DAC1C7
  • Protanomaly#C5C4D9
  • Deuteranomaly#C8C6D7
  • Tritanomaly#D9C0D0
  • Achromatopsia#C7C7C7

Colors similar to Thistle

The closest named colors by perceptual difference (OKLab).

Use Thistle in CSS and Tailwind

CSS
.thistle {
  color: thistle; /* #D8BFD8 */
  background-color: rgb(216 191 216);
  border-color: oklch(83.3% 0.044 326);
}
Tailwind CSS
/* Tailwind CSS v4: bg-thistle-500, text-thistle-700... */
@theme {
  --color-thistle-50: #FCF9FC;
  --color-thistle-100: #F4ECF4;
  --color-thistle-200: #E8DAE8;
  --color-thistle-300: #D8BFD8;
  --color-thistle-400: #B994BA;
  --color-thistle-500: #A57AA5;
  --color-thistle-600: #8F668F;
  --color-thistle-700: #735174;
  --color-thistle-800: #5B415C;
  --color-thistle-900: #4A344A;
  --color-thistle-950: #1E111E;
}

<!-- or the exact color, no config -->
<div class="bg-[#D8BFD8] text-[#000000]">…</div>