Skip to content

#d2a4df

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

RGB
210, 164, 223
HSL
287°, 48%, 76%
CMYK
6, 27, 0, 13
Luminance
0.4558

Every format

HEX#d2a4df
RGBrgb(210, 164, 223)
HSLhsl(287, 48%, 76%)
CMYKcmyk(6%, 27%, 0%, 13%)
LABlab(73.3 27.2 -23.3)
LCHlch(73.3 35.8 319.4)
OKLCHoklch(0.780 0.096 318.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2a4df on white: 2.08:1
AA ✗ fail · AA-large · AAA
Aa
#d2a4df on black: 10.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green64.3%
Blue87.5%

CMYK percentages

Cyan5.8%
Magenta26.5%
Yellow0.0%
Key (black)12.5%

Color previews

#d2a4df text on a black background

contrast 10.12:1

Card sample

#d2a4df text on a white background

contrast 2.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2a4df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2a4df in the Color Lab