Skip to content

#d2acfb

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

RGB
210, 172, 251
HSL
269°, 91%, 83%
CMYK
16, 32, 0, 2
Luminance
0.5017

Every format

HEX#d2acfb
RGBrgb(210, 172, 251)
HSLhsl(269, 91%, 83%)
CMYKcmyk(16%, 32%, 0%, 2%)
LABlab(76.2 28.6 -34.1)
LCHlch(76.2 44.5 310.0)
OKLCHoklch(0.806 0.116 306.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green67.5%
Blue98.4%

CMYK percentages

Cyan16.3%
Magenta31.5%
Yellow0.0%
Key (black)1.6%

Color previews

#d2acfb text on a black background

contrast 11.03:1

Card sample

#d2acfb text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2acfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2acfb in the Color Lab