Skip to content

#d2baf9

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

RGB
210, 186, 249
HSL
263°, 84%, 85%
CMYK
16, 25, 0, 2
Luminance
0.5566

Every format

HEX#d2baf9
RGBrgb(210, 186, 249)
HSLhsl(263, 84%, 85%)
CMYKcmyk(16%, 25%, 0%, 2%)
LABlab(79.4 20.6 -28.0)
LCHlch(79.4 34.7 306.3)
OKLCHoklch(0.831 0.090 301.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2baf9 on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#d2baf9 on black: 12.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green72.9%
Blue97.6%

CMYK percentages

Cyan15.7%
Magenta25.3%
Yellow0.0%
Key (black)2.4%

Color previews

#d2baf9 text on a black background

contrast 12.13:1

Card sample

#d2baf9 text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2baf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2baf9 in the Color Lab