Skip to content

#d8ace3

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

RGB
216, 172, 227
HSL
288°, 50%, 78%
CMYK
5, 24, 0, 11
Luminance
0.4965

Every format

HEX#d8ace3
RGBrgb(216, 172, 227)
HSLhsl(288, 50%, 78%)
CMYKcmyk(5%, 24%, 0%, 11%)
LABlab(75.8 25.6 -21.5)
LCHlch(75.8 33.4 319.9)
OKLCHoklch(0.802 0.090 319.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d8ace3 on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#d8ace3 on black: 10.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.7%
Green67.5%
Blue89.0%

CMYK percentages

Cyan4.8%
Magenta24.2%
Yellow0.0%
Key (black)11.0%

Color previews

#d8ace3 text on a black background

contrast 10.93:1

Card sample

#d8ace3 text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d8ace3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d8ace3 in the Color Lab