Skip to content

#dfaaf4

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

RGB
223, 170, 244
HSL
283°, 77%, 81%
CMYK
9, 30, 0, 4
Luminance
0.5097

Every format

HEX#dfaaf4
RGBrgb(223, 170, 244)
HSLhsl(283, 77%, 81%)
CMYKcmyk(9%, 30%, 0%, 4%)
LABlab(76.7 32.2 -29.4)
LCHlch(76.7 43.6 317.6)
OKLCHoklch(0.811 0.116 316.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green66.7%
Blue95.7%

CMYK percentages

Cyan8.6%
Magenta30.3%
Yellow0.0%
Key (black)4.3%

Color previews

#dfaaf4 text on a black background

contrast 11.19:1

Card sample

#dfaaf4 text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfaaf4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfaaf4 in the Color Lab