Skip to content

#d4a2df

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

RGB
212, 162, 223
HSL
289°, 49%, 76%
CMYK
5, 27, 0, 13
Luminance
0.4517

Every format

HEX#d4a2df
RGBrgb(212, 162, 223)
HSLhsl(289, 49%, 76%)
CMYKcmyk(5%, 27%, 0%, 13%)
LABlab(73.0 28.9 -23.7)
LCHlch(73.0 37.4 320.6)
OKLCHoklch(0.779 0.101 320.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red83.1%
Green63.5%
Blue87.5%

CMYK percentages

Cyan4.9%
Magenta27.4%
Yellow0.0%
Key (black)12.5%

Color previews

#d4a2df text on a black background

contrast 10.03:1

Card sample

#d4a2df text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4a2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4a2df in the Color Lab