Skip to content

#d4abdf

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

RGB
212, 171, 223
HSL
287°, 45%, 77%
CMYK
5, 23, 0, 13
Luminance
0.4845

Every format

HEX#d4abdf
RGBrgb(212, 171, 223)
HSLhsl(287, 45%, 77%)
CMYKcmyk(5%, 23%, 0%, 13%)
LABlab(75.1 24.0 -20.5)
LCHlch(75.1 31.6 319.5)
OKLCHoklch(0.795 0.085 319.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4abdf on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#d4abdf on black: 10.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green67.1%
Blue87.5%

CMYK percentages

Cyan4.9%
Magenta23.3%
Yellow0.0%
Key (black)12.5%

Color previews

#d4abdf text on a black background

contrast 10.69:1

Card sample

#d4abdf text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4abdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4abdf in the Color Lab