Skip to content

#d1abdf

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

RGB
209, 171, 223
HSL
284°, 45%, 77%
CMYK
6, 23, 0, 13
Luminance
0.4801

Every format

HEX#d1abdf
RGBrgb(209, 171, 223)
HSLhsl(284, 45%, 77%)
CMYKcmyk(6%, 23%, 0%, 13%)
LABlab(74.8 23.1 -21.0)
LCHlch(74.8 31.2 317.7)
OKLCHoklch(0.792 0.083 316.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d1abdf on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#d1abdf on black: 10.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.0%
Green67.1%
Blue87.5%

CMYK percentages

Cyan6.3%
Magenta23.3%
Yellow0.0%
Key (black)12.5%

Color previews

#d1abdf text on a black background

contrast 10.60:1

Card sample

#d1abdf text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d1abdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d1abdf in the Color Lab