Skip to content

#d1acff

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

RGB
209, 172, 255
HSL
267°, 100%, 84%
CMYK
18, 33, 0, 0
Luminance
0.5028

Every format

HEX#d1acff
RGBrgb(209, 172, 255)
HSLhsl(267, 100%, 84%)
CMYKcmyk(18%, 33%, 0%, 0%)
LABlab(76.2 29.2 -36.1)
LCHlch(76.2 46.4 308.9)
OKLCHoklch(0.807 0.121 304.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d1acff on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#d1acff on black: 11.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.0%
Green67.5%
Blue100.0%

CMYK percentages

Cyan18.0%
Magenta32.5%
Yellow0.0%
Key (black)0.0%

Color previews

#d1acff text on a black background

contrast 11.06:1

Card sample

#d1acff text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d1acff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d1acff in the Color Lab