Skip to content

#d4acfd

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

RGB
212, 172, 253
HSL
270°, 95%, 83%
CMYK
16, 32, 0, 1
Luminance
0.5059

Every format

HEX#d4acfd
RGBrgb(212, 172, 253)
HSLhsl(270, 95%, 83%)
CMYKcmyk(16%, 32%, 0%, 1%)
LABlab(76.4 29.6 -34.7)
LCHlch(76.4 45.6 310.5)
OKLCHoklch(0.808 0.119 306.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4acfd on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#d4acfd on black: 11.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green67.5%
Blue99.2%

CMYK percentages

Cyan16.2%
Magenta32.0%
Yellow0.0%
Key (black)0.8%

Color previews

#d4acfd text on a black background

contrast 11.12:1

Card sample

#d4acfd text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4acfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4acfd in the Color Lab