Thistle Hex Code #D8BFD8
Thistle is a very light, muted purple with the hex code #D8BFD8. In RGB it is 216, 191, 216, and in HSL it is 300°, 24%, 80%. It is one of the 148 named colors in CSS, so you can write “thistle” instead of the hex code.
- HEX
- #D8BFD8
- RGB
- rgb(216, 191, 216)
- HSL
- hsl(300, 24%, 80%)
- HSV
- hsv(300°, 12%, 85%)
- CMYK
- cmyk(0%, 12%, 0%, 15%)
- CSS name
- thistle
CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.
About Thistle
On a white background Thistle has a contrast ratio of 1.70:1 (Fail), and on black 12.36:1 (AAA). Black text is the better choice on top of it.
It sits between the warm and cool halves of the color wheel, so it pairs comfortably with either.
Purple combines the calm of blue with the energy of red. It reads as creative and premium, and is often used by design, media and beauty brands.
Shades and tints of Thistle
Tints mix Thistle with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.
Color harmonies for Thistle
These schemes are calculated from Thistle on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.
On the artist’s RYB wheel, the complement of Thistle is #D1D8BF, close to the named color Beige.
Thistle contrast and accessibility
WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Thistle scores against white and black.
| Against | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White (#ffffff) | 1.70:1 | ✕ Fail | ✕ Fail | ✕ Fail | ✕ Fail |
| Black (#000000) | 12.36:1 | ✓ Pass | ✓ Pass | ✓ Pass | ✓ Pass |
Thistle and color blindness
These are approximate previews of how Thistle can look with the main types of color vision deficiency.
Thistle shifts slightly.
Thistle shifts slightly.
Thistle shifts slightly.
Thistle shifts slightly.
Gradients with Thistle
Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.
Thistle to a lighter tint
background: linear-gradient(135deg, #d8bfd8 0%, #efe5ef 100%); Thistle to its analogous neighbour
background: linear-gradient(135deg, #d8bfd8 0%, #d8bfcc 100%); Thistle to its complement
background: linear-gradient(135deg, #d8bfd8 0%, #bfd8bf 100%); Colors similar to Thistle
How each close match differs from Thistle.
Use Thistle in code
.element {
color: #d8bfd8;
background-color: #d8bfd8;
border-color: thistle; /* thistle is a valid CSS color name */
} :root {
--color-thistle: #d8bfd8;
} <!-- Tailwind arbitrary values -->
<div class="bg-[#d8bfd8] text-[#d8bfd8] border-[#d8bfd8]"></div>
/* Tailwind v4 theme color */
@theme {
--color-thistle: #d8bfd8;
} Thistle questions
What is the hex code for Thistle?
The hex code for Thistle is #D8BFD8. In RGB that is rgb(216, 191, 216), and in HSL it is hsl(300, 24%, 80%).
What is the complementary color of Thistle?
On the RGB (screen) color wheel, the complement of Thistle is #BFD8BF, which is close to Beige. On the artist’s RYB wheel it is #D1D8BF, close to Beige.
Should I use white or black text on Thistle?
Black text. It has a contrast ratio of 12.36:1 against Thistle, which is WCAG AAA. The other option scores 1.70:1.
Is Thistle accessible as a text color on white?
No. Thistle on white scores 1.70:1, which is below the WCAG minimum of 3:1 even for large text.
What are darker and lighter shades of Thistle?
Mixing Thistle with black gives #AD99AD, #827382, #564C56, #2B262B (20% to 80% black). Mixing it with white gives #E0CCE0, #E8D9E8, #EFE5EF, #F7F2F7 (20% to 80% white).