CSS named color
Thistle #D8BFD8
Thistle is a light muted magenta with the hex code #D8BFD8, which converts to rgb(216, 191, 216). Open #D8BFD8 in the converter to tweak it.
Thistle color values
| HEX | #D8BFD8 |
|---|---|
| HEX (shorthand) | — |
| RGB | rgb(216, 191, 216) |
| RGBA | rgba(216, 191, 216, 1) |
| 8-digit HEX | #D8BFD8FF |
| HSL | hsl(300, 24%, 80%) |
| HSV / HSB | 300°, 12%, 85% |
| CMYK | 0%, 12%, 0%, 15% |
| RGB 0–1 | 0.847, 0.749, 0.847 |
| Decimal | 14204888 |
| CSS keyword | thistle |
How #D8BFD8 converts to RGB
Split the hex code into three pairs and read each pair as a base-16 number: D8 → 216, BF → 191, D8 → 216. That gives rgb(216, 191, 216). The step-by-step guide explains the math.
Shades of Thistle
Mixed toward black in 10% steps. Click a swatch to copy its hex.
Tints of Thistle
Mixed toward white in 10% steps.
Color harmonies
Hue rotations of Thistle on the HSL color wheel, keeping saturation and lightness fixed. The color harmony guide explains when each scheme works.
Complementary
Analogous
Split-complementary
Triadic
Tetradic (square)
Contrast and accessibility
| Text | Background | Ratio | WCAG 2.x |
|---|---|---|---|
| White | Thistle | 1.69:1 | Fail |
| Black | Thistle | 12.36:1 | AAA |
Use black text on a thistle background. Test any other pair in the contrast checker; thresholds are explained in the WCAG contrast guide.
Use Thistle in CSS
.element {
color: thistle; /* keyword */
background-color: #D8BFD8; /* hex */
border-color: rgb(216 191 216 / 50%); /* 50% transparent */
}
Need it semi-transparent? Append an alpha byte: #D8BFD880 is Thistle at 50% opacity. See RGBA & transparency.
Similar named colors
FAQ
What is the HEX code for Thistle?
The CSS named color thistle is #D8BFD8 in hexadecimal. In CSS you can write color: thistle; or color: #D8BFD8; — both produce the same pixel.
What is Thistle in RGB?
Thistle is rgb(216, 191, 216): red 216, green 191, blue 216 on the 0–255 scale. As normalized 0–1 floats that is (0.847, 0.749, 0.847).
Is white or black text more readable on Thistle?
Black text is more readable. White on #D8BFD8 has a contrast ratio of 1.69:1 (Fail), black on #D8BFD8 has 12.36:1 (AAA). WCAG AA needs 4.5:1 for normal text.