Skip to content

#d0bdf8

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

RGB
208, 189, 248
HSL
259°, 81%, 86%
CMYK
16, 24, 0, 3
Luminance
0.5658

Every format

HEX#d0bdf8
RGBrgb(208, 189, 248)
HSLhsl(259, 81%, 86%)
CMYKcmyk(16%, 24%, 0%, 3%)
LABlab(79.9 18.1 -26.7)
LCHlch(79.9 32.2 304.1)
OKLCHoklch(0.834 0.084 299.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.6%
Green74.1%
Blue97.3%

CMYK percentages

Cyan16.1%
Magenta23.8%
Yellow0.0%
Key (black)2.7%

Color previews

#d0bdf8 text on a black background

contrast 12.32:1

Card sample

#d0bdf8 text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0bdf8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0bdf8 in the Color Lab