Skip to content

#d2abdd

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

RGB
210, 171, 221
HSL
287°, 42%, 77%
CMYK
5, 23, 0, 13
Luminance
0.4805

Every format

HEX#d2abdd
RGBrgb(210, 171, 221)
HSLhsl(287, 42%, 77%)
CMYKcmyk(5%, 23%, 0%, 13%)
LABlab(74.9 23.0 -19.8)
LCHlch(74.9 30.4 319.2)
OKLCHoklch(0.792 0.081 318.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2abdd on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#d2abdd on black: 10.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green67.1%
Blue86.7%

CMYK percentages

Cyan5.0%
Magenta22.6%
Yellow0.0%
Key (black)13.3%

Color previews

#d2abdd text on a black background

contrast 10.61:1

Card sample

#d2abdd text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2abdd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2abdd in the Color Lab