Skip to content

#d2bae4

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

RGB
210, 186, 228
HSL
274°, 44%, 81%
CMYK
8, 18, 0, 11
Luminance
0.5442

Every format

HEX#d2bae4
RGBrgb(210, 186, 228)
HSLhsl(274, 44%, 81%)
CMYKcmyk(8%, 18%, 0%, 11%)
LABlab(78.7 16.2 -17.8)
LCHlch(78.7 24.1 312.3)
OKLCHoklch(0.823 0.063 310.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green72.9%
Blue89.4%

CMYK percentages

Cyan7.9%
Magenta18.4%
Yellow0.0%
Key (black)10.6%

Color previews

#d2bae4 text on a black background

contrast 11.88:1

Card sample

#d2bae4 text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2bae4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2bae4 in the Color Lab