Skip to content

#d1bdf2

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

RGB
209, 189, 242
HSL
263°, 67%, 85%
CMYK
14, 22, 0, 5
Luminance
0.5636

Every format

HEX#d1bdf2
RGBrgb(209, 189, 242)
HSLhsl(263, 67%, 85%)
CMYKcmyk(14%, 22%, 0%, 5%)
LABlab(79.8 17.1 -23.6)
LCHlch(79.8 29.2 305.9)
OKLCHoklch(0.833 0.076 302.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d1bdf2 on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#d1bdf2 on black: 12.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.0%
Green74.1%
Blue94.9%

CMYK percentages

Cyan13.6%
Magenta21.9%
Yellow0.0%
Key (black)5.1%

Color previews

#d1bdf2 text on a black background

contrast 12.27:1

Card sample

#d1bdf2 text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d1bdf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d1bdf2 in the Color Lab