Skip to content

#dfcaf2

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

RGB
223, 202, 242
HSL
272°, 61%, 87%
CMYK
8, 17, 0, 5
Luminance
0.6434

Every format

HEX#dfcaf2
RGBrgb(223, 202, 242)
HSLhsl(272, 61%, 87%)
CMYKcmyk(8%, 17%, 0%, 5%)
LABlab(84.1 14.6 -17.0)
LCHlch(84.1 22.4 310.7)
OKLCHoklch(0.869 0.059 308.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfcaf2 on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#dfcaf2 on black: 13.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green79.2%
Blue94.9%

CMYK percentages

Cyan7.9%
Magenta16.5%
Yellow0.0%
Key (black)5.1%

Color previews

#dfcaf2 text on a black background

contrast 13.87:1

Card sample

#dfcaf2 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcaf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfcaf2 in the Color Lab