Thistle color (#D8BFD8)
#D8BFD8 (Thistle) is a light grayish pink colour. It is rgb(216, 191, 216) in RGB and hsl(300, 24%, 80%) in HSL. Text in black reads better on it: the contrast is 12.36:1 against black and 1.70:1 against white.
How to work it out
- 1
A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).
\mathrm{#D8BFD8}:\quad R=\mathrm{D8}_{16}=216,\ G=\mathrm{BF}_{16}=191,\ B=\mathrm{D8}_{16}=216 - 2
HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.
- 3
The complementary colour sits opposite on the wheel: add 180° to the hue.
300^\circ + 180^\circ = 120^\circ ;\Rightarrow; \mathrm{#BFD8BF} - 4
Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).
LaTeX source of the formulas on this page
\[ \mathrm{#D8BFD8} = \mathrm{rgb}(216, 191, 216) \]
\[ \mathrm{#D8BFD8}:\quad R=\mathrm{D8}_{16}=216,\ G=\mathrm{BF}_{16}=191,\ B=\mathrm{D8}_{16}=216 \]
\[ H=300^\circ,\quad S=24\%,\quad L=80\% \]
\[ 300^\circ + 180^\circ = 120^\circ ;\Rightarrow; \mathrm{#BFD8BF} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 1.70:1\ \text{(on white)} \]Thistle in every colour format
| Format | Value |
|---|---|
| HEX | #D8BFD8 |
| RGB | rgb(216, 191, 216) |
| RGB (percent) | rgb(84.7%, 74.9%, 84.7%) |
| HSL | hsl(300, 24%, 80%) |
| HSV / HSB | hsv(300, 12%, 85%) |
| CMYK | cmyk(0%, 12%, 0%, 15%) |
| Decimal | 14204888 |
| Description | light grayish pink |
| CSS name | thistle |
Text contrast (WCAG)
| Background of this colour with… | Contrast | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White text | 1.70:1 | fail | fail | fail | fail |
| Black text | 12.36:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #242024 #484048 #6C606C #907F90 #B49FB4 |
| This colour | #D8BFD8 |
| Tints (mixed with white) | #DFCADF #E5D4E5 #ECDFEC #F2EAF2 #F9F4F9 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #BEC5D9 | 12 |
| Deuteranopia | #C3C8D7 | 12 |
| Tritanopia | #DAC1C7 | 10 |
| Grayscale | #C7C7C7 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Lavender | #E6E6FA |
| Light steel blue | #B0C4DE |
| Silver | #C0C0C0 |
| Light gray | #D3D3D3 |
Questions
What is the RGB value of #D8BFD8?
rgb(216, 191, 216): red 216, green 191, blue 216.
What is the HSL value of #D8BFD8?
hsl(300, 24%, 80%): a hue of 300°, 24% saturation and 80% lightness.
What is the complementary colour of #D8BFD8?
#BFD8BF, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #274027.
Should I use white or black text on #D8BFD8?
Black. White gives 1.70:1 and black 12.36:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #D8BFD8?
cmyk(0%, 12%, 0%, 15%). This is a simple formula conversion; printed colours depend on the printer profile.
Is #D8BFD8 a named colour?
Yes: it is the CSS colour name "thistle".