Skip to content

#dfd7f7

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

RGB
223, 215, 247
HSL
255°, 67%, 91%
CMYK
10, 13, 0, 3
Luminance
0.7100

Every format

HEX#dfd7f7
RGBrgb(223, 215, 247)
HSLhsl(255, 67%, 91%)
CMYKcmyk(10%, 13%, 0%, 3%)
LABlab(87.5 8.7 -14.6)
LCHlch(87.5 17.0 300.8)
OKLCHoklch(0.895 0.044 296.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan9.7%
Magenta13.0%
Yellow0.0%
Key (black)3.1%

Color previews

#dfd7f7 text on a black background

contrast 15.20:1

Card sample

#dfd7f7 text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd7f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd7f7 in the Color Lab