Skip to content

#dfcafb

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

RGB
223, 202, 251
HSL
266°, 86%, 89%
CMYK
11, 20, 0, 2
Luminance
0.6489

Every format

HEX#dfcafb
RGBrgb(223, 202, 251)
HSLhsl(266, 86%, 89%)
CMYKcmyk(11%, 20%, 0%, 2%)
LABlab(84.4 16.4 -21.3)
LCHlch(84.4 26.9 307.5)
OKLCHoklch(0.872 0.070 304.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green79.2%
Blue98.4%

CMYK percentages

Cyan11.2%
Magenta19.5%
Yellow0.0%
Key (black)1.6%

Color previews

#dfcafb text on a black background

contrast 13.98:1

Card sample

#dfcafb text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcafb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfcafb in the Color Lab