Skip to content

#d7aceb

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

RGB
215, 172, 235
HSL
281°, 61%, 80%
CMYK
9, 27, 0, 8
Luminance
0.4995

Every format

HEX#d7aceb
RGBrgb(215, 172, 235)
HSLhsl(281, 61%, 80%)
CMYKcmyk(9%, 27%, 0%, 8%)
LABlab(76.0 26.8 -25.6)
LCHlch(76.0 37.1 316.3)
OKLCHoklch(0.804 0.098 314.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d7aceb on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#d7aceb on black: 10.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.3%
Green67.5%
Blue92.2%

CMYK percentages

Cyan8.5%
Magenta26.8%
Yellow0.0%
Key (black)7.8%

Color previews

#d7aceb text on a black background

contrast 10.99:1

Card sample

#d7aceb text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7aceb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7aceb in the Color Lab