Skip to content

#dfd8f5

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

RGB
223, 216, 245
HSL
255°, 59%, 90%
CMYK
9, 12, 0, 4
Luminance
0.7139

Every format

HEX#dfd8f5
RGBrgb(223, 216, 245)
HSLhsl(255, 59%, 90%)
CMYKcmyk(9%, 12%, 0%, 4%)
LABlab(87.7 7.8 -13.3)
LCHlch(87.7 15.4 300.4)
OKLCHoklch(0.897 0.040 296.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green84.7%
Blue96.1%

CMYK percentages

Cyan9.0%
Magenta11.8%
Yellow0.0%
Key (black)3.9%

Color previews

#dfd8f5 text on a black background

contrast 15.28:1

Card sample

#dfd8f5 text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd8f5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd8f5 in the Color Lab