Skip to content

#dfd7f6

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

RGB
223, 215, 246
HSL
256°, 63%, 90%
CMYK
9, 13, 0, 4
Luminance
0.7094

Every format

HEX#dfd7f6
RGBrgb(223, 215, 246)
HSLhsl(256, 63%, 90%)
CMYKcmyk(9%, 13%, 0%, 4%)
LABlab(87.5 8.5 -14.1)
LCHlch(87.5 16.5 301.0)
OKLCHoklch(0.895 0.043 297.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green84.3%
Blue96.5%

CMYK percentages

Cyan9.3%
Magenta12.6%
Yellow0.0%
Key (black)3.5%

Color previews

#dfd7f6 text on a black background

contrast 15.19:1

Card sample

#dfd7f6 text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd7f6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd7f6 in the Color Lab