Skip to content

#dfd8ed

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

RGB
223, 216, 237
HSL
260°, 37%, 89%
CMYK
6, 9, 0, 7
Luminance
0.7091

Every format

HEX#dfd8ed
RGBrgb(223, 216, 237)
HSLhsl(260, 37%, 89%)
CMYKcmyk(6%, 9%, 0%, 7%)
LABlab(87.4 6.2 -9.4)
LCHlch(87.4 11.3 303.5)
OKLCHoklch(0.894 0.029 301.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green84.7%
Blue92.9%

CMYK percentages

Cyan5.9%
Magenta8.9%
Yellow0.0%
Key (black)7.1%

Color previews

#dfd8ed text on a black background

contrast 15.18:1

Card sample

#dfd8ed text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd8ed

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd8ed in the Color Lab