Skip to content

#d4afda

a light, soft magenta / pink · warm · closest name: plum

RGB
212, 175, 218
HSL
292°, 37%, 77%
CMYK
3, 20, 0, 15
Luminance
0.4972

Every format

HEX#d4afda
RGBrgb(212, 175, 218)
HSLhsl(292, 37%, 77%)
CMYKcmyk(3%, 20%, 0%, 15%)
LABlab(75.9 20.9 -16.6)
LCHlch(75.9 26.7 321.5)
OKLCHoklch(0.800 0.072 321.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4afda on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#d4afda on black: 10.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green68.6%
Blue85.5%

CMYK percentages

Cyan2.8%
Magenta19.7%
Yellow0.0%
Key (black)14.5%

Color previews

#d4afda text on a black background

contrast 10.94:1

Card sample

#d4afda text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4afda

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4afda in the Color Lab