Skip to content

#dfaaf2

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

RGB
223, 170, 242
HSL
284°, 74%, 81%
CMYK
8, 30, 0, 5
Luminance
0.5085

Every format

HEX#dfaaf2
RGBrgb(223, 170, 242)
HSLhsl(284, 74%, 81%)
CMYKcmyk(8%, 30%, 0%, 5%)
LABlab(76.6 31.8 -28.5)
LCHlch(76.6 42.7 318.2)
OKLCHoklch(0.811 0.114 317.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green66.7%
Blue94.9%

CMYK percentages

Cyan7.9%
Magenta29.8%
Yellow0.0%
Key (black)5.1%

Color previews

#dfaaf2 text on a black background

contrast 11.17:1

Card sample

#dfaaf2 text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfaaf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfaaf2 in the Color Lab