Skip to content

#dfccf1

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

RGB
223, 204, 241
HSL
271°, 57%, 87%
CMYK
8, 15, 0, 6
Luminance
0.6522

Every format

HEX#dfccf1
RGBrgb(223, 204, 241)
HSLhsl(271, 57%, 87%)
CMYKcmyk(8%, 15%, 0%, 6%)
LABlab(84.6 13.3 -15.8)
LCHlch(84.6 20.7 310.2)
OKLCHoklch(0.872 0.054 308.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfccf1 on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#dfccf1 on black: 14.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green80.0%
Blue94.5%

CMYK percentages

Cyan7.5%
Magenta15.4%
Yellow0.0%
Key (black)5.5%

Color previews

#dfccf1 text on a black background

contrast 14.04:1

Card sample

#dfccf1 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfccf1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfccf1 in the Color Lab