Skip to content

#dfd8fc

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

RGB
223, 216, 252
HSL
252°, 86%, 92%
CMYK
12, 14, 0, 1
Luminance
0.7183

Every format

HEX#dfd8fc
RGBrgb(223, 216, 252)
HSLhsl(252, 86%, 92%)
CMYKcmyk(12%, 14%, 0%, 1%)
LABlab(87.9 9.2 -16.7)
LCHlch(87.9 19.0 298.9)
OKLCHoklch(0.899 0.049 294.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd8fc on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#dfd8fc on black: 15.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green84.7%
Blue98.8%

CMYK percentages

Cyan11.5%
Magenta14.3%
Yellow0.0%
Key (black)1.2%

Color previews

#dfd8fc text on a black background

contrast 15.37:1

Card sample

#dfd8fc text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd8fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd8fc in the Color Lab