Skip to content

#d7adf2

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

RGB
215, 173, 242
HSL
277°, 73%, 81%
CMYK
11, 29, 0, 5
Luminance
0.5075

Every format

HEX#d7adf2
RGBrgb(215, 173, 242)
HSLhsl(277, 73%, 81%)
CMYKcmyk(11%, 29%, 0%, 5%)
LABlab(76.5 27.7 -28.6)
LCHlch(76.5 39.8 314.0)
OKLCHoklch(0.808 0.105 311.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d7adf2 on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#d7adf2 on black: 11.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.3%
Green67.8%
Blue94.9%

CMYK percentages

Cyan11.2%
Magenta28.5%
Yellow0.0%
Key (black)5.1%

Color previews

#d7adf2 text on a black background

contrast 11.15:1

Card sample

#d7adf2 text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7adf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7adf2 in the Color Lab