Skip to content

#d2acf7

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

RGB
210, 172, 247
HSL
270°, 82%, 82%
CMYK
15, 30, 0, 3
Luminance
0.4992

Every format

HEX#d2acf7
RGBrgb(210, 172, 247)
HSLhsl(270, 82%, 82%)
CMYKcmyk(15%, 30%, 0%, 3%)
LABlab(76.0 27.7 -32.1)
LCHlch(76.0 42.5 310.8)
OKLCHoklch(0.804 0.111 307.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2acf7 on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#d2acf7 on black: 10.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green67.5%
Blue96.9%

CMYK percentages

Cyan15.0%
Magenta30.4%
Yellow0.0%
Key (black)3.1%

Color previews

#d2acf7 text on a black background

contrast 10.98:1

Card sample

#d2acf7 text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2acf7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2acf7 in the Color Lab