Skip to content

#dfd7ed

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

RGB
223, 215, 237
HSL
262°, 38%, 89%
CMYK
6, 9, 0, 7
Luminance
0.7040

Every format

HEX#dfd7ed
RGBrgb(223, 215, 237)
HSLhsl(262, 38%, 89%)
CMYKcmyk(6%, 9%, 0%, 7%)
LABlab(87.2 6.8 -9.8)
LCHlch(87.2 11.9 304.7)
OKLCHoklch(0.892 0.031 302.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd7ed on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#dfd7ed on black: 15.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green84.3%
Blue92.9%

CMYK percentages

Cyan5.9%
Magenta9.3%
Yellow0.0%
Key (black)7.1%

Color previews

#dfd7ed text on a black background

contrast 15.08:1

Card sample

#dfd7ed text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd7ed

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd7ed in the Color Lab