Skip to content

#dfcdf7

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

RGB
223, 205, 247
HSL
266°, 72%, 89%
CMYK
10, 17, 0, 3
Luminance
0.6607

Every format

HEX#dfcdf7
RGBrgb(223, 205, 247)
HSLhsl(266, 72%, 89%)
CMYKcmyk(10%, 17%, 0%, 3%)
LABlab(85.0 14.0 -18.3)
LCHlch(85.0 23.1 307.4)
OKLCHoklch(0.876 0.060 304.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green80.4%
Blue96.9%

CMYK percentages

Cyan9.7%
Magenta17.0%
Yellow0.0%
Key (black)3.1%

Color previews

#dfcdf7 text on a black background

contrast 14.21:1

Card sample

#dfcdf7 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcdf7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfcdf7 in the Color Lab