Skip to content

#d4adfd

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

RGB
212, 173, 253
HSL
269°, 95%, 84%
CMYK
16, 32, 0, 1
Luminance
0.5098

Every format

HEX#d4adfd
RGBrgb(212, 173, 253)
HSLhsl(269, 95%, 84%)
CMYKcmyk(16%, 32%, 0%, 1%)
LABlab(76.7 29.1 -34.4)
LCHlch(76.7 45.0 310.2)
OKLCHoklch(0.810 0.117 306.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4adfd on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#d4adfd on black: 11.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green67.8%
Blue99.2%

CMYK percentages

Cyan16.2%
Magenta31.6%
Yellow0.0%
Key (black)0.8%

Color previews

#d4adfd text on a black background

contrast 11.20:1

Card sample

#d4adfd text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4adfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4adfd in the Color Lab