CSS color names · Purples

Thistle color: hex #d8bfd8, RGB and HSL

Thistle is the CSS keyword thistle, hex #d8bfd8, rgb(216, 191, 216), hsl(300, 24%, 80%). It is a light, soft magenta in the purples family. Below: the colors that go with it, its tints and shades, how it reads as text, and a complete interface palette built from it.

CSS name
thistle
Hex
#d8bfd8
RGB
rgb(216, 191, 216)
HSL
hsl(300, 24%, 80%)
On white
1.7:1 — fails AA; use as a fill, not text
On black
12.36:1 — passes AA for body text
.example {
  color: thistle;          /* keyword */
  color: #d8bfd8;          /* hex */
  color: rgb(216, 191, 216); /* rgb */
  color: hsl(300, 24%, 80%); /* hsl */
}

What colors go with thistle

Each match keeps thistle's saturation and lightness and rotates only the hue, so the relationship is the wheel's and nothing else. Any of these can be an accent beside thistle as the primary; the harmony guides explain which rule suits which interface.

Complementary

The opposite hue, 180° away — the strongest contrast, best kept to one accent per screen.

#bfd8bf

Split-complementary

The two neighbors of the complement, at 150° and 210° — most of the contrast with less tension, and two accents instead of one.

#ccd8bf
#bfd8cc

Triadic

Two hues at 120° and 240° — three evenly spaced signals, the scheme charts and category colors want.

#d8d8bf
#bfd8d8

Analogous

The neighbors at −30° and +30° — calm and cohesive, with emphasis coming from weight and size rather than hue.

#ccbfd8
#d8bfcc

Tints and shades of thistle

Tints add lightness toward white; shades remove it toward black. The hue and saturation stay fixed, so every step still reads as thistle — these are the hover, pressed, disabled and surface variants a single brand color needs.

Tints (lighter)

#dfcadf
#e5d4e5
#ebdfeb
#f2eaf2
#f9f4f9

Shades (darker)

#be95be
#a56ba5
#7e4d7e
#543354
#2a1a2a

A UI color palette built from thistle

The eight semantic roles an interface actually uses, derived from thistle as the primary with the split-complementary rule: secondary and accent rotate around the wheel, and the five neutrals take the hue at lightness steps tuned for light and dark mode. This is the same derivation the palette generator runs — open it there to change the rule, drag the anchors, or export the set as CSS variables.

Light mode
primary
#d8bfd8
secondary
#ccd8bf
accent
#bfd8cc
background
#fdfcfd
surface
#f6f4f6
text
#1d161d
muted
#7e687e
border
#e8e3e8
Dark mode
primary
#d8bfd8
secondary
#ccd8bf
accent
#bfd8cc
background
#171217
surface
#221b22
text
#f6f4f6
muted
#ac9fac
border
#3f313f

Using thistle in an interface

Purple is the hue most SaaS products have settled on for a primary — it is distinct from the blues of links and the reds and greens of status. The slate blues and indigo make dependable primaries; the light lavenders make tinted surfaces that still read as brand. Whichever role thistle takes, define it once as a token rather than repeating the keyword: the semantic palette guide covers the eight roles, and the guides to complementary, triadic and the other color schemes explain how to weight the matches above.

What is the hex code for Thistle?
Thistle is #d8bfd8. In CSS the keyword thistle, the hex #d8bfd8, rgb(216, 191, 216) and hsl(300, 24%, 80%) all paint the same color.
What colors go with Thistle?
Its complement is #bfd8bf, the split-complementary pair is #ccd8bf and #bfd8cc, the triadic partners are #d8d8bf and #bfd8d8, and the analogous neighbors are #ccbfd8 and #d8bfcc. In an interface, use Thistle for most colored elements and one of these for a single accent, at roughly an 80/20 split.
What is the opposite of Thistle on the color wheel?
The opposite (complementary) color is #bfd8bf, the same saturation and lightness rotated 180° around the HSL wheel. Complementary pairs give the strongest contrast, which is why the complement should be used sparingly rather than at equal weight.
Can I use Thistle for text?
Thistle as text on white has a contrast ratio of 1.7:1, which fails WCAG AA for body text (4.5:1) and for large text (3:1). On black it is 12.36:1, which passes for body text. Use it as text on dark surfaces, or as a fill with dark text on top.

Similar named colors

More purples

We'd like to use Google cookies to understand how Nodlume is used and to measure our advertising. Nothing loads until you choose, and declining does not affect anything in the app.