Skip to content

#dfcfff

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

RGB
223, 207, 255
HSL
260°, 100%, 91%
CMYK
13, 19, 0, 0
Luminance
0.6753

Every format

HEX#dfcfff
RGBrgb(223, 207, 255)
HSLhsl(260, 100%, 91%)
CMYKcmyk(13%, 19%, 0%, 0%)
LABlab(85.8 14.6 -21.4)
LCHlch(85.8 25.9 304.2)
OKLCHoklch(0.883 0.067 300.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfcfff on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#dfcfff on black: 14.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green81.2%
Blue100.0%

CMYK percentages

Cyan12.5%
Magenta18.8%
Yellow0.0%
Key (black)0.0%

Color previews

#dfcfff text on a black background

contrast 14.51:1

Card sample

#dfcfff text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcfff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfcfff in the Color Lab