Skip to content

#dfd1f8

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

RGB
223, 209, 248
HSL
262°, 74%, 90%
CMYK
10, 16, 0, 3
Luminance
0.6807

Every format

HEX#dfd1f8
RGBrgb(223, 209, 248)
HSLhsl(262, 74%, 90%)
CMYKcmyk(10%, 16%, 0%, 3%)
LABlab(86.0 12.1 -17.3)
LCHlch(86.0 21.1 304.9)
OKLCHoklch(0.884 0.055 301.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green82.0%
Blue97.3%

CMYK percentages

Cyan10.1%
Magenta15.7%
Yellow0.0%
Key (black)2.7%

Color previews

#dfd1f8 text on a black background

contrast 14.61:1

Card sample

#dfd1f8 text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd1f8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd1f8 in the Color Lab