Skip to content

#d4bdf8

a pale, electric violet · warm · closest name: plum

RGB
212, 189, 248
HSL
263°, 81%, 86%
CMYK
15, 24, 0, 3
Luminance
0.5717

Every format

HEX#d4bdf8
RGBrgb(212, 189, 248)
HSLhsl(263, 81%, 86%)
CMYKcmyk(15%, 24%, 0%, 3%)
LABlab(80.3 19.3 -26.1)
LCHlch(80.3 32.5 306.5)
OKLCHoklch(0.837 0.085 302.4)

Copy-ready code

/* CSS */
color: #d4bdf8;
background-color: #d4bdf8;
/* Tailwind (arbitrary) */
class="text-[#d4bdf8] bg-[#d4bdf8]"
/* SCSS */
$brand: #d4bdf8;
/* SwiftUI */
Color(red: 0.831, green: 0.741, blue: 0.973)
/* Android */
Color.parseColor("#d4bdf8")

Accessibility — WCAG contrast

Aa
#d4bdf8 on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#d4bdf8 on black: 12.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green74.1%
Blue97.3%

CMYK percentages

Cyan14.5%
Magenta23.8%
Yellow0.0%
Key (black)2.7%

Color previews

#d4bdf8 text on a black background

contrast 12.43:1

Card sample

#d4bdf8 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #d4bdf8;
Background color
Panel with #d4bdf8 background
background-color: #d4bdf8;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #d4bdf8;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(212, 189, 248, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(212, 189, 248, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d4bdf8;
background: linear-gradient(135deg, #d4bdf8, #F8BDF5);

Monochromatic scale

Palettes built from #d4bdf8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4bdf8 in the Color Lab