Thistle #D8BFD8
Thistle is one of the named colours in CSS, written thistle. Black text reaches 12.36:1 on it, enough for body text.
Try on walls Preview on a website
Colour codes
| CSS keyword | thistle |
|---|---|
| HEX | #D8BFD8 |
| RGB | rgb(216 191 216) |
| HSL | hsl(300 24% 80%) |
| OKLCH | oklch(83.3% 0.044 326.0) |
| White text | 1.70:1 · body text AA Fail |
| Black text | 12.36:1 · body text AA Pass |
Colours that go with Thistle
The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Cameo Pink (#E0B3B6), close. These are the colours Wada paired it with, ranked by their contrast with Thistle itself.
| Colour | HEX | Contrast with Thistle | Body text AA |
|---|---|---|---|
| Deep Lyons Blue | #1C4286 | 5.69:1 | Pass |
| Hay's Russet | #793327 | 5.34:1 | Pass |
| Vistoris Lake | #6D4145 | 4.96:1 | Pass |
| Pompeian Red | #AB2439 | 4.06:1 | Fail |
| Blue Violet | #6450A1 | 3.86:1 | Fail |
| Olympic Blue | #5A82B3 | 2.34:1 | Fail |
| Chromium Green | #719470 | 2.00:1 | Fail |
| Spinel Red | #F27291 | 1.63:1 | Fail |
Palettes with Cameo Pink
Shades and tints of Thistle
Nine lightness steps in OKLCH that keep the hue of Thistle. Chroma is reduced only where sRGB cannot show it.
- 100#FFEFFF
- 200#F5DBF5
- 300#DDC4DD
- 400#C0A8C0
- 500#A189A1
- 600#7F6980
- 700#624D63
- 800#473247
- 900#2C1A2D
:root {
--thistle-100: #FFEFFF;
--thistle-200: #F5DBF5;
--thistle-300: #DDC4DD;
--thistle-400: #C0A8C0;
--thistle-500: #A189A1;
--thistle-600: #7F6980;
--thistle-700: #624D63;
--thistle-800: #473247;
--thistle-900: #2C1A2D;
}
Text that keeps Thistle on screen
Text #2C1A2D on #D8BFD8 reaches 9.56:1, which passes WCAG AA for body text. Check it on a dashboard