Skip to content

#dfccf7

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

RGB
223, 204, 247
HSL
267°, 73%, 88%
CMYK
10, 17, 0, 3
Luminance
0.6559

Every format

HEX#dfccf7
RGBrgb(223, 204, 247)
HSLhsl(267, 73%, 88%)
CMYKcmyk(10%, 17%, 0%, 3%)
LABlab(84.8 14.5 -18.7)
LCHlch(84.8 23.7 307.9)
OKLCHoklch(0.874 0.062 305.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green80.0%
Blue96.9%

CMYK percentages

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

Color previews

#dfccf7 text on a black background

contrast 14.12:1

Card sample

#dfccf7 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfccf7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfccf7 in the Color Lab