Skip to content

#dfcdf8

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

RGB
223, 205, 248
HSL
265°, 75%, 89%
CMYK
10, 17, 0, 3
Luminance
0.6613

Every format

HEX#dfcdf8
RGBrgb(223, 205, 248)
HSLhsl(265, 75%, 89%)
CMYKcmyk(10%, 17%, 0%, 3%)
LABlab(85.1 14.2 -18.8)
LCHlch(85.1 23.6 307.1)
OKLCHoklch(0.877 0.061 304.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfcdf8 on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#dfcdf8 on black: 14.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green80.4%
Blue97.3%

CMYK percentages

Cyan10.1%
Magenta17.3%
Yellow0.0%
Key (black)2.7%

Color previews

#dfcdf8 text on a black background

contrast 14.23:1

Card sample

#dfcdf8 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcdf8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfcdf8 in the Color Lab