Skip to content

#dfcaf5

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

RGB
223, 202, 245
HSL
269°, 68%, 88%
CMYK
9, 18, 0, 4
Luminance
0.6452

Every format

HEX#dfcaf5
RGBrgb(223, 202, 245)
HSLhsl(269, 68%, 88%)
CMYKcmyk(9%, 18%, 0%, 4%)
LABlab(84.2 15.2 -18.4)
LCHlch(84.2 23.9 309.5)
OKLCHoklch(0.870 0.063 307.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green79.2%
Blue96.1%

CMYK percentages

Cyan9.0%
Magenta17.6%
Yellow0.0%
Key (black)3.9%

Color previews

#dfcaf5 text on a black background

contrast 13.90:1

Card sample

#dfcaf5 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcaf5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfcaf5 in the Color Lab