Skip to content

#dfccf5

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

RGB
223, 204, 245
HSL
268°, 67%, 88%
CMYK
9, 17, 0, 4
Luminance
0.6547

Every format

HEX#dfccf5
RGBrgb(223, 204, 245)
HSLhsl(268, 67%, 88%)
CMYKcmyk(9%, 17%, 0%, 4%)
LABlab(84.7 14.1 -17.7)
LCHlch(84.7 22.7 308.6)
OKLCHoklch(0.874 0.059 306.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green80.0%
Blue96.1%

CMYK percentages

Cyan9.0%
Magenta16.7%
Yellow0.0%
Key (black)3.9%

Color previews

#dfccf5 text on a black background

contrast 14.09:1

Card sample

#dfccf5 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfccf5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfccf5 in the Color Lab