Skip to content

#d2baf8

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

RGB
210, 186, 248
HSL
263°, 82%, 85%
CMYK
15, 25, 0, 3
Luminance
0.5560

Every format

HEX#d2baf8
RGBrgb(210, 186, 248)
HSLhsl(263, 82%, 85%)
CMYKcmyk(15%, 25%, 0%, 3%)
LABlab(79.4 20.3 -27.5)
LCHlch(79.4 34.2 306.4)
OKLCHoklch(0.830 0.089 302.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green72.9%
Blue97.3%

CMYK percentages

Cyan15.3%
Magenta25.0%
Yellow0.0%
Key (black)2.7%

Color previews

#d2baf8 text on a black background

contrast 12.12:1

Card sample

#d2baf8 text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2baf8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2baf8 in the Color Lab