Skip to content

#d4ace9

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

RGB
212, 172, 233
HSL
279°, 58%, 79%
CMYK
9, 26, 0, 9
Luminance
0.4939

Every format

HEX#d4ace9
RGBrgb(212, 172, 233)
HSLhsl(279, 58%, 79%)
CMYKcmyk(9%, 26%, 0%, 9%)
LABlab(75.7 25.5 -25.1)
LCHlch(75.7 35.7 315.4)
OKLCHoklch(0.800 0.095 313.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4ace9 on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#d4ace9 on black: 10.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green67.5%
Blue91.4%

CMYK percentages

Cyan9.0%
Magenta26.2%
Yellow0.0%
Key (black)8.6%

Color previews

#d4ace9 text on a black background

contrast 10.88:1

Card sample

#d4ace9 text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4ace9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4ace9 in the Color Lab