Skip to content

#d2adf4

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

RGB
210, 173, 244
HSL
271°, 76%, 82%
CMYK
14, 29, 0, 4
Luminance
0.5012

Every format

HEX#d2adf4
RGBrgb(210, 173, 244)
HSLhsl(271, 76%, 82%)
CMYKcmyk(14%, 29%, 0%, 4%)
LABlab(76.1 26.6 -30.3)
LCHlch(76.1 40.3 311.2)
OKLCHoklch(0.805 0.105 307.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green67.8%
Blue95.7%

CMYK percentages

Cyan13.9%
Magenta29.1%
Yellow0.0%
Key (black)4.3%

Color previews

#d2adf4 text on a black background

contrast 11.02:1

Card sample

#d2adf4 text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2adf4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2adf4 in the Color Lab