Skip to content

#dfccf2

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

RGB
223, 204, 242
HSL
270°, 59%, 88%
CMYK
8, 16, 0, 5
Luminance
0.6528

Every format

HEX#dfccf2
RGBrgb(223, 204, 242)
HSLhsl(270, 59%, 88%)
CMYKcmyk(8%, 16%, 0%, 5%)
LABlab(84.6 13.6 -16.3)
LCHlch(84.6 21.2 309.8)
OKLCHoklch(0.873 0.056 307.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfccf2 on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#dfccf2 on black: 14.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#dfccf2 text on a black background

contrast 14.06:1

Card sample

#dfccf2 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfccf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfccf2 in the Color Lab