Skip to content

#d4ace4

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

RGB
212, 172, 228
HSL
283°, 51%, 78%
CMYK
7, 25, 0, 11
Luminance
0.4910

Every format

HEX#d4ace4
RGBrgb(212, 172, 228)
HSLhsl(283, 51%, 78%)
CMYKcmyk(7%, 25%, 0%, 11%)
LABlab(75.5 24.5 -22.6)
LCHlch(75.5 33.3 317.2)
OKLCHoklch(0.798 0.089 316.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red83.1%
Green67.5%
Blue89.4%

CMYK percentages

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

Color previews

#d4ace4 text on a black background

contrast 10.82:1

Card sample

#d4ace4 text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4ace4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4ace4 in the Color Lab