Skip to content

#dfd1f7

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

RGB
223, 209, 247
HSL
262°, 70%, 89%
CMYK
10, 15, 0, 3
Luminance
0.6800

Every format

HEX#dfd1f7
RGBrgb(223, 209, 247)
HSLhsl(262, 70%, 89%)
CMYKcmyk(10%, 15%, 0%, 3%)
LABlab(86.0 11.9 -16.8)
LCHlch(86.0 20.6 305.2)
OKLCHoklch(0.884 0.054 302.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd1f7 on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#dfd1f7 on black: 14.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green82.0%
Blue96.9%

CMYK percentages

Cyan9.7%
Magenta15.4%
Yellow0.0%
Key (black)3.1%

Color previews

#dfd1f7 text on a black background

contrast 14.60:1

Card sample

#dfd1f7 text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd1f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd1f7 in the Color Lab