Skip to content

#d2aafd

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

RGB
210, 170, 253
HSL
269°, 95%, 83%
CMYK
17, 33, 0, 1
Luminance
0.4954

Every format

HEX#d2aafd
RGBrgb(210, 170, 253)
HSLhsl(269, 95%, 83%)
CMYKcmyk(17%, 33%, 0%, 1%)
LABlab(75.8 30.1 -35.8)
LCHlch(75.8 46.7 310.1)
OKLCHoklch(0.803 0.122 305.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2aafd on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#d2aafd on black: 10.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green66.7%
Blue99.2%

CMYK percentages

Cyan17.0%
Magenta32.8%
Yellow0.0%
Key (black)0.8%

Color previews

#d2aafd text on a black background

contrast 10.91:1

Card sample

#d2aafd text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2aafd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2aafd in the Color Lab