Skip to content

#d3ace1

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

RGB
211, 172, 225
HSL
284°, 47%, 78%
CMYK
6, 24, 0, 12
Luminance
0.4879

Every format

HEX#d3ace1
RGBrgb(211, 172, 225)
HSLhsl(284, 47%, 78%)
CMYKcmyk(6%, 24%, 0%, 12%)
LABlab(75.3 23.6 -21.3)
LCHlch(75.3 31.8 317.9)
OKLCHoklch(0.796 0.085 317.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d3ace1 on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#d3ace1 on black: 10.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.7%
Green67.5%
Blue88.2%

CMYK percentages

Cyan6.2%
Magenta23.6%
Yellow0.0%
Key (black)11.8%

Color previews

#d3ace1 text on a black background

contrast 10.76:1

Card sample

#d3ace1 text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d3ace1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d3ace1 in the Color Lab