Skip to content

#dfcdf9

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

RGB
223, 205, 249
HSL
265°, 79%, 89%
CMYK
10, 18, 0, 2
Luminance
0.6619

Every format

HEX#dfcdf9
RGBrgb(223, 205, 249)
HSLhsl(265, 79%, 89%)
CMYKcmyk(10%, 18%, 0%, 2%)
LABlab(85.1 14.4 -19.3)
LCHlch(85.1 24.1 306.8)
OKLCHoklch(0.877 0.063 303.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfcdf9 on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#dfcdf9 on black: 14.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green80.4%
Blue97.6%

CMYK percentages

Cyan10.4%
Magenta17.7%
Yellow0.0%
Key (black)2.4%

Color previews

#dfcdf9 text on a black background

contrast 14.24:1

Card sample

#dfcdf9 text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcdf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfcdf9 in the Color Lab