Skip to content

#d9acff

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

RGB
217, 172, 255
HSL
273°, 100%, 84%
CMYK
15, 33, 0, 0
Luminance
0.5148

Every format

HEX#d9acff
RGBrgb(217, 172, 255)
HSLhsl(273, 100%, 84%)
CMYKcmyk(15%, 33%, 0%, 0%)
LABlab(77.0 31.5 -35.0)
LCHlch(77.0 47.1 312.1)
OKLCHoklch(0.814 0.123 308.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d9acff on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#d9acff on black: 11.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.1%
Green67.5%
Blue100.0%

CMYK percentages

Cyan14.9%
Magenta32.5%
Yellow0.0%
Key (black)0.0%

Color previews

#d9acff text on a black background

contrast 11.30:1

Card sample

#d9acff text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d9acff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d9acff in the Color Lab