Skip to content

#dfaaf3

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

RGB
223, 170, 243
HSL
284°, 75%, 81%
CMYK
8, 30, 0, 5
Luminance
0.5091

Every format

HEX#dfaaf3
RGBrgb(223, 170, 243)
HSLhsl(284, 75%, 81%)
CMYKcmyk(8%, 30%, 0%, 5%)
LABlab(76.6 32.0 -29.0)
LCHlch(76.6 43.2 317.9)
OKLCHoklch(0.811 0.115 316.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan8.2%
Magenta30.0%
Yellow0.0%
Key (black)4.7%

Color previews

#dfaaf3 text on a black background

contrast 11.18:1

Card sample

#dfaaf3 text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfaaf3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfaaf3 in the Color Lab