Skip to content

#d3acfd

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

RGB
211, 172, 253
HSL
269°, 95%, 83%
CMYK
17, 32, 0, 1
Luminance
0.5045

Every format

HEX#d3acfd
RGBrgb(211, 172, 253)
HSLhsl(269, 95%, 83%)
CMYKcmyk(17%, 32%, 0%, 1%)
LABlab(76.3 29.3 -34.9)
LCHlch(76.3 45.6 310.1)
OKLCHoklch(0.808 0.119 306.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.7%
Green67.5%
Blue99.2%

CMYK percentages

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

Color previews

#d3acfd text on a black background

contrast 11.09:1

Card sample

#d3acfd text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d3acfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d3acfd in the Color Lab