Skip to content

#dfd8f7

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

RGB
223, 216, 247
HSL
254°, 66%, 91%
CMYK
10, 13, 0, 3
Luminance
0.7152

Every format

HEX#dfd8f7
RGBrgb(223, 216, 247)
HSLhsl(254, 66%, 91%)
CMYKcmyk(10%, 13%, 0%, 3%)
LABlab(87.7 8.2 -14.3)
LCHlch(87.7 16.4 299.9)
OKLCHoklch(0.897 0.043 295.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green84.7%
Blue96.9%

CMYK percentages

Cyan9.7%
Magenta12.6%
Yellow0.0%
Key (black)3.1%

Color previews

#dfd8f7 text on a black background

contrast 15.30:1

Card sample

#dfd8f7 text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd8f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd8f7 in the Color Lab