Skip to content

#dfd8f0

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

RGB
223, 216, 240
HSL
258°, 44%, 89%
CMYK
7, 10, 0, 6
Luminance
0.7109

Every format

HEX#dfd8f0
RGBrgb(223, 216, 240)
HSLhsl(258, 44%, 89%)
CMYKcmyk(7%, 10%, 0%, 6%)
LABlab(87.5 6.8 -10.9)
LCHlch(87.5 12.8 302.1)
OKLCHoklch(0.895 0.033 299.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd8f0 on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#dfd8f0 on black: 15.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green84.7%
Blue94.1%

CMYK percentages

Cyan7.1%
Magenta10.0%
Yellow0.0%
Key (black)5.9%

Color previews

#dfd8f0 text on a black background

contrast 15.22:1

Card sample

#dfd8f0 text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd8f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd8f0 in the Color Lab