Skip to content

#dfcdf2

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

RGB
223, 205, 242
HSL
269°, 59%, 88%
CMYK
8, 15, 0, 5
Luminance
0.6576

Every format

HEX#dfcdf2
RGBrgb(223, 205, 242)
HSLhsl(269, 59%, 88%)
CMYKcmyk(8%, 15%, 0%, 5%)
LABlab(84.9 13.0 -15.9)
LCHlch(84.9 20.5 309.3)
OKLCHoklch(0.875 0.054 307.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green80.4%
Blue94.9%

CMYK percentages

Cyan7.9%
Magenta15.3%
Yellow0.0%
Key (black)5.1%

Color previews

#dfcdf2 text on a black background

contrast 14.15:1

Card sample

#dfcdf2 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcdf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfcdf2 in the Color Lab