Skip to content

#dfdafb

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

RGB
223, 218, 251
HSL
249°, 81%, 92%
CMYK
11, 13, 0, 2
Luminance
0.7280

Every format

HEX#dfdafb
RGBrgb(223, 218, 251)
HSLhsl(249, 81%, 92%)
CMYKcmyk(11%, 13%, 0%, 2%)
LABlab(88.3 7.9 -15.4)
LCHlch(88.3 17.3 297.2)
OKLCHoklch(0.902 0.045 292.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdafb on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#dfdafb on black: 15.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green85.5%
Blue98.4%

CMYK percentages

Cyan11.2%
Magenta13.1%
Yellow0.0%
Key (black)1.6%

Color previews

#dfdafb text on a black background

contrast 15.56:1

Card sample

#dfdafb text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdafb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdafb in the Color Lab