Skip to content

#d4bdf1

a light, vivid violet · warm · closest name: plum

RGB
212, 189, 241
HSL
267°, 65%, 84%
CMYK
12, 22, 0, 6
Luminance
0.5674

Every format

HEX#d4bdf1
RGBrgb(212, 189, 241)
HSLhsl(267, 65%, 84%)
CMYKcmyk(12%, 22%, 0%, 6%)
LABlab(80.0 17.9 -22.8)
LCHlch(80.0 28.9 308.1)
OKLCHoklch(0.835 0.075 304.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4bdf1 on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#d4bdf1 on black: 12.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green74.1%
Blue94.5%

CMYK percentages

Cyan12.0%
Magenta21.6%
Yellow0.0%
Key (black)5.5%

Color previews

#d4bdf1 text on a black background

contrast 12.35:1

Card sample

#d4bdf1 text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4bdf1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4bdf1 in the Color Lab