Skip to content

#d4aceb

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

RGB
212, 172, 235
HSL
278°, 61%, 80%
CMYK
10, 27, 0, 8
Luminance
0.4950

Every format

HEX#d4aceb
RGBrgb(212, 172, 235)
HSLhsl(278, 61%, 80%)
CMYKcmyk(10%, 27%, 0%, 8%)
LABlab(75.8 25.9 -26.0)
LCHlch(75.8 36.7 314.8)
OKLCHoklch(0.801 0.097 312.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red83.1%
Green67.5%
Blue92.2%

CMYK percentages

Cyan9.8%
Magenta26.8%
Yellow0.0%
Key (black)7.8%

Color previews

#d4aceb text on a black background

contrast 10.90:1

Card sample

#d4aceb text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4aceb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4aceb in the Color Lab