Toolman

#D8B4FE color

#D8B4FE#D8B4FE

The swatch above shows #D8B4FE with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.

#D8B4FE is a very light, vivid violet, closest to the CSS named color thistle (#D8BFD8).

It is also a Tailwind CSS default: purple-300. That means you can write bg-purple-300 or text-purple-300 directly, with no arbitrary-value brackets and no entry in your theme config.

Color values

HEX#D8B4FE
RGBrgb(216, 180, 254)
HSLhsl(269, 97%, 85%)
CMYKcmyk(15%, 29%, 0%, 0%)
Decimal14202110
CSScolor: #D8B4FE;
Android0xFFD8B4FE
SwiftUIColor(red: 0.847, green: 0.706, blue: 0.996, alpha: 1)

Accessibility and contrast

White text on #D8B4FE1.77:1 — AA fail · AA large fail · AAA fail
Black text on #D8B4FE11.88:1 — AA pass · AA large pass · AAA pass
Recommended text colorblack

WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).

Tints and shades of #D8B4FE

Each swatch keeps the hue and saturation of #D8B4FE and varies only lightness — the quickest way to build a usable scale from a single brand color.

95%
85%
75%
65%
55%
45%
35%
25%
15%

Colors that go with #D8B4FE

Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.

Complementary
Triadic +120°
Triadic +240°
Analogous −30°
Analogous +30°
Split −150°
Split +150°

Using #D8B4FE in code

/* CSS */
.element { color: #D8B4FE; background-color: #D8B4FE; }
.element { color: rgb(216 180 254); }
.element { color: hsl(269 97% 85%); }

/* Tailwind */
<div class="bg-purple-300 text-black">

/* SCSS variable */
$brand: #D8B4FE;

Frequently asked questions

What color is #D8B4FE?

#D8B4FE is a very light, vivid violet. Its hue sits at 269° on the color wheel, with 97% saturation and 85% lightness.

What is #D8B4FE in RGB?

#D8B4FE converts to rgb(216, 180, 254) — 216 red, 180 green and 254 blue.

What is #D8B4FE in CMYK?

Approximately cmyk(15%, 29%, 0%, 0%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.

Should text on #D8B4FE be white or black?

Black gives the better contrast ratio (11.88:1 versus 1.77:1).

What is the complementary color of #D8B4FE?

#DAFEB4 — the hue directly opposite #D8B4FE on the color wheel.

Convert any color → · Browse all colors