Skip to content

#d2ace4

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

RGB
210, 172, 228
HSL
281°, 51%, 78%
CMYK
8, 25, 0, 11
Luminance
0.4881

Every format

HEX#d2ace4
RGBrgb(210, 172, 228)
HSLhsl(281, 51%, 78%)
CMYKcmyk(8%, 25%, 0%, 11%)
LABlab(75.3 23.8 -22.9)
LCHlch(75.3 33.1 316.1)
OKLCHoklch(0.797 0.088 314.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2ace4 on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#d2ace4 on black: 10.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green67.5%
Blue89.4%

CMYK percentages

Cyan7.9%
Magenta24.6%
Yellow0.0%
Key (black)10.6%

Color previews

#d2ace4 text on a black background

contrast 10.76:1

Card sample

#d2ace4 text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2ace4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2ace4 in the Color Lab