Skip to content

#dfd1f9

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

RGB
223, 209, 249
HSL
261°, 77%, 90%
CMYK
10, 16, 0, 2
Luminance
0.6813

Every format

HEX#dfd1f9
RGBrgb(223, 209, 249)
HSLhsl(261, 77%, 90%)
CMYKcmyk(10%, 16%, 0%, 2%)
LABlab(86.1 12.3 -17.8)
LCHlch(86.1 21.6 304.6)
OKLCHoklch(0.885 0.056 301.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green82.0%
Blue97.6%

CMYK percentages

Cyan10.4%
Magenta16.1%
Yellow0.0%
Key (black)2.4%

Color previews

#dfd1f9 text on a black background

contrast 14.63:1

Card sample

#dfd1f9 text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd1f9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd1f9 in the Color Lab