Skip to content

#d1adfd

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

RGB
209, 173, 253
HSL
267°, 95%, 84%
CMYK
17, 32, 0, 1
Luminance
0.5053

Every format

HEX#d1adfd
RGBrgb(209, 173, 253)
HSLhsl(267, 95%, 84%)
CMYKcmyk(17%, 32%, 0%, 1%)
LABlab(76.4 28.2 -34.8)
LCHlch(76.4 44.8 309.0)
OKLCHoklch(0.808 0.116 304.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d1adfd on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#d1adfd on black: 11.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.0%
Green67.8%
Blue99.2%

CMYK percentages

Cyan17.4%
Magenta31.6%
Yellow0.0%
Key (black)0.8%

Color previews

#d1adfd text on a black background

contrast 11.11:1

Card sample

#d1adfd text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d1adfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d1adfd in the Color Lab