Skip to content

#dfd9fc

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

RGB
223, 217, 252
HSL
250°, 85%, 92%
CMYK
12, 14, 0, 1
Luminance
0.7234

Every format

HEX#dfd9fc
RGBrgb(223, 217, 252)
HSLhsl(250, 85%, 92%)
CMYKcmyk(12%, 14%, 0%, 1%)
LABlab(88.1 8.7 -16.3)
LCHlch(88.1 18.4 298.0)
OKLCHoklch(0.901 0.048 293.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd9fc on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#dfd9fc on black: 15.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green85.1%
Blue98.8%

CMYK percentages

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

Color previews

#dfd9fc text on a black background

contrast 15.47:1

Card sample

#dfd9fc text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd9fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd9fc in the Color Lab