Skip to content

#d2ace8

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

RGB
210, 172, 232
HSL
278°, 57%, 79%
CMYK
10, 26, 0, 9
Luminance
0.4903

Every format

HEX#d2ace8
RGBrgb(210, 172, 232)
HSLhsl(278, 57%, 79%)
CMYKcmyk(10%, 26%, 0%, 9%)
LABlab(75.5 24.6 -24.9)
LCHlch(75.5 35.0 314.7)
OKLCHoklch(0.798 0.092 312.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2ace8 on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#d2ace8 on black: 10.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green67.5%
Blue91.0%

CMYK percentages

Cyan9.5%
Magenta25.9%
Yellow0.0%
Key (black)9.0%

Color previews

#d2ace8 text on a black background

contrast 10.81:1

Card sample

#d2ace8 text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2ace8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2ace8 in the Color Lab