Skip to content

#dfd1f5

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

RGB
223, 209, 245
HSL
263°, 64%, 89%
CMYK
9, 15, 0, 4
Luminance
0.6788

Every format

HEX#dfd1f5
RGBrgb(223, 209, 245)
HSLhsl(263, 64%, 89%)
CMYKcmyk(9%, 15%, 0%, 4%)
LABlab(86.0 11.5 -15.9)
LCHlch(86.0 19.6 305.9)
OKLCHoklch(0.883 0.051 303.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green82.0%
Blue96.1%

CMYK percentages

Cyan9.0%
Magenta14.7%
Yellow0.0%
Key (black)3.9%

Color previews

#dfd1f5 text on a black background

contrast 14.58:1

Card sample

#dfd1f5 text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd1f5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd1f5 in the Color Lab