Skip to content

#d1acfd

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

RGB
209, 172, 253
HSL
267°, 95%, 83%
CMYK
17, 32, 0, 1
Luminance
0.5015

Every format

HEX#d1acfd
RGBrgb(209, 172, 253)
HSLhsl(267, 95%, 83%)
CMYKcmyk(17%, 32%, 0%, 1%)
LABlab(76.2 28.7 -35.2)
LCHlch(76.2 45.4 309.2)
OKLCHoklch(0.806 0.118 304.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d1acfd on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#d1acfd on black: 11.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.0%
Green67.5%
Blue99.2%

CMYK percentages

Cyan17.4%
Magenta32.0%
Yellow0.0%
Key (black)0.8%

Color previews

#d1acfd text on a black background

contrast 11.03:1

Card sample

#d1acfd text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d1acfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d1acfd in the Color Lab