Skip to content

#dfaafe

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

RGB
223, 170, 254
HSL
278°, 98%, 83%
CMYK
12, 33, 0, 0
Luminance
0.5159

Every format

HEX#dfaafe
RGBrgb(223, 170, 254)
HSLhsl(278, 98%, 83%)
CMYKcmyk(12%, 33%, 0%, 0%)
LABlab(77.0 34.2 -34.3)
LCHlch(77.0 48.4 315.0)
OKLCHoklch(0.816 0.128 312.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfaafe on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#dfaafe on black: 11.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green66.7%
Blue99.6%

CMYK percentages

Cyan12.2%
Magenta33.1%
Yellow0.0%
Key (black)0.4%

Color previews

#dfaafe text on a black background

contrast 11.32:1

Card sample

#dfaafe text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfaafe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfaafe in the Color Lab