Skip to content

#dfd4fc

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

RGB
223, 212, 252
HSL
257°, 87%, 91%
CMYK
12, 16, 0, 1
Luminance
0.6980

Every format

HEX#dfd4fc
RGBrgb(223, 212, 252)
HSLhsl(257, 87%, 91%)
CMYKcmyk(12%, 16%, 0%, 1%)
LABlab(86.9 11.3 -18.1)
LCHlch(86.9 21.4 301.9)
OKLCHoklch(0.891 0.056 297.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd4fc on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#dfd4fc on black: 14.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green83.1%
Blue98.8%

CMYK percentages

Cyan11.5%
Magenta15.9%
Yellow0.0%
Key (black)1.2%

Color previews

#dfd4fc text on a black background

contrast 14.96:1

Card sample

#dfd4fc text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd4fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd4fc in the Color Lab