Skip to content

#d2a3df

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

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

Every format

HEX#d2a3df
RGBrgb(210, 163, 223)
HSLhsl(287, 48%, 76%)
CMYKcmyk(6%, 27%, 0%, 13%)
LABlab(73.0 27.7 -23.7)
LCHlch(73.0 36.5 319.5)
OKLCHoklch(0.778 0.098 318.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2a3df on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#d2a3df on black: 10.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green63.9%
Blue87.5%

CMYK percentages

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

Color previews

#d2a3df text on a black background

contrast 10.04:1

Card sample

#d2a3df text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2a3df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2a3df in the Color Lab