Skip to content

#dfacfe

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

RGB
223, 172, 254
HSL
277°, 98%, 84%
CMYK
12, 32, 0, 0
Luminance
0.5235

Every format

HEX#dfacfe
RGBrgb(223, 172, 254)
HSLhsl(277, 98%, 84%)
CMYKcmyk(12%, 32%, 0%, 0%)
LABlab(77.5 33.1 -33.6)
LCHlch(77.5 47.2 314.6)
OKLCHoklch(0.819 0.124 312.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green67.5%
Blue99.6%

CMYK percentages

Cyan12.2%
Magenta32.3%
Yellow0.0%
Key (black)0.4%

Color previews

#dfacfe text on a black background

contrast 11.47:1

Card sample

#dfacfe text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfacfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfacfe in the Color Lab