Skip to content

#d2bdf7

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

RGB
210, 189, 247
HSL
262°, 78%, 86%
CMYK
15, 24, 0, 3
Luminance
0.5681

Every format

HEX#d2bdf7
RGBrgb(210, 189, 247)
HSLhsl(262, 78%, 86%)
CMYKcmyk(15%, 24%, 0%, 3%)
LABlab(80.1 18.5 -25.9)
LCHlch(80.1 31.9 305.5)
OKLCHoklch(0.835 0.083 301.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green74.1%
Blue96.9%

CMYK percentages

Cyan15.0%
Magenta23.5%
Yellow0.0%
Key (black)3.1%

Color previews

#d2bdf7 text on a black background

contrast 12.36:1

Card sample

#d2bdf7 text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2bdf7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2bdf7 in the Color Lab