Skip to content

#dfd9f1

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

RGB
223, 217, 241
HSL
255°, 46%, 90%
CMYK
8, 10, 0, 6
Luminance
0.7166

Every format

HEX#dfd9f1
RGBrgb(223, 217, 241)
HSLhsl(255, 46%, 90%)
CMYKcmyk(8%, 10%, 0%, 6%)
LABlab(87.8 6.5 -11.0)
LCHlch(87.8 12.8 300.5)
OKLCHoklch(0.897 0.033 297.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan7.5%
Magenta10.0%
Yellow0.0%
Key (black)5.5%

Color previews

#dfd9f1 text on a black background

contrast 15.33:1

Card sample

#dfd9f1 text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd9f1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd9f1 in the Color Lab