Skip to content

#d2bae2

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

RGB
210, 186, 226
HSL
276°, 41%, 81%
CMYK
7, 18, 0, 11
Luminance
0.5431

Every format

HEX#d2bae2
RGBrgb(210, 186, 226)
HSLhsl(276, 41%, 81%)
CMYKcmyk(7%, 18%, 0%, 11%)
LABlab(78.6 15.8 -16.8)
LCHlch(78.6 23.1 313.2)
OKLCHoklch(0.822 0.061 311.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2bae2 on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#d2bae2 on black: 11.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green72.9%
Blue88.6%

CMYK percentages

Cyan7.1%
Magenta17.7%
Yellow0.0%
Key (black)11.4%

Color previews

#d2bae2 text on a black background

contrast 11.86:1

Card sample

#d2bae2 text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2bae2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2bae2 in the Color Lab