Skip to content

#dfdefd

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

RGB
223, 222, 253
HSL
242°, 89%, 93%
CMYK
12, 12, 0, 1
Luminance
0.7502

Every format

HEX#dfdefd
RGBrgb(223, 222, 253)
HSLhsl(242, 89%, 93%)
CMYKcmyk(12%, 12%, 0%, 1%)
LABlab(89.4 6.2 -14.9)
LCHlch(89.4 16.1 292.7)
OKLCHoklch(0.911 0.042 287.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdefd on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#dfdefd on black: 16.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green87.1%
Blue99.2%

CMYK percentages

Cyan11.9%
Magenta12.3%
Yellow0.0%
Key (black)0.8%

Color previews

#dfdefd text on a black background

contrast 16.00:1

Card sample

#dfdefd text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdefd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdefd in the Color Lab