Skip to content

#dfadf7

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

RGB
223, 173, 247
HSL
281°, 82%, 82%
CMYK
10, 30, 0, 3
Luminance
0.5229

Every format

HEX#dfadf7
RGBrgb(223, 173, 247)
HSLhsl(281, 82%, 82%)
CMYKcmyk(10%, 30%, 0%, 3%)
LABlab(77.5 31.2 -29.8)
LCHlch(77.5 43.2 316.3)
OKLCHoklch(0.818 0.114 314.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfadf7 on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#dfadf7 on black: 11.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green67.8%
Blue96.9%

CMYK percentages

Cyan9.7%
Magenta30.0%
Yellow0.0%
Key (black)3.1%

Color previews

#dfadf7 text on a black background

contrast 11.46:1

Card sample

#dfadf7 text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfadf7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfadf7 in the Color Lab