Skip to content

#dfc2fe

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

RGB
223, 194, 254
HSL
269°, 97%, 88%
CMYK
12, 24, 0, 0
Luminance
0.6143

Every format

HEX#dfc2fe
RGBrgb(223, 194, 254)
HSLhsl(269, 97%, 88%)
CMYKcmyk(12%, 24%, 0%, 0%)
LABlab(82.6 21.3 -25.7)
LCHlch(82.6 33.4 309.6)
OKLCHoklch(0.858 0.087 306.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfc2fe on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#dfc2fe on black: 13.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green76.1%
Blue99.6%

CMYK percentages

Cyan12.2%
Magenta23.6%
Yellow0.0%
Key (black)0.4%

Color previews

#dfc2fe text on a black background

contrast 13.29:1

Card sample

#dfc2fe text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfc2fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfc2fe in the Color Lab