Skip to content

#dfdafc

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

RGB
223, 218, 252
HSL
249°, 85%, 92%
CMYK
12, 14, 0, 1
Luminance
0.7286

Every format

HEX#dfdafc
RGBrgb(223, 218, 252)
HSLhsl(249, 85%, 92%)
CMYKcmyk(12%, 14%, 0%, 1%)
LABlab(88.4 8.1 -15.9)
LCHlch(88.4 17.9 297.1)
OKLCHoklch(0.903 0.046 292.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#dfdafc text on a black background

contrast 15.57:1

Card sample

#dfdafc text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdafc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdafc in the Color Lab