Skip to content

#dfd9f2

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

RGB
223, 217, 242
HSL
254°, 49%, 90%
CMYK
8, 10, 0, 5
Luminance
0.7172

Every format

HEX#dfd9f2
RGBrgb(223, 217, 242)
HSLhsl(254, 49%, 90%)
CMYKcmyk(8%, 10%, 0%, 5%)
LABlab(87.8 6.7 -11.5)
LCHlch(87.8 13.3 300.2)
OKLCHoklch(0.898 0.035 296.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green85.1%
Blue94.9%

CMYK percentages

Cyan7.9%
Magenta10.3%
Yellow0.0%
Key (black)5.1%

Color previews

#dfd9f2 text on a black background

contrast 15.34:1

Card sample

#dfd9f2 text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd9f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd9f2 in the Color Lab