Skip to content

#d6acfd

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

RGB
214, 172, 253
HSL
271°, 95%, 83%
CMYK
15, 32, 0, 1
Luminance
0.5089

Every format

HEX#d6acfd
RGBrgb(214, 172, 253)
HSLhsl(271, 95%, 83%)
CMYKcmyk(15%, 32%, 0%, 1%)
LABlab(76.6 30.2 -34.4)
LCHlch(76.6 45.8 311.3)
OKLCHoklch(0.810 0.120 307.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red83.9%
Green67.5%
Blue99.2%

CMYK percentages

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

Color previews

#d6acfd text on a black background

contrast 11.18:1

Card sample

#d6acfd text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d6acfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d6acfd in the Color Lab