Skip to content

#dfcaf0

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

RGB
223, 202, 240
HSL
273°, 56%, 87%
CMYK
7, 16, 0, 6
Luminance
0.6422

Every format

HEX#dfcaf0
RGBrgb(223, 202, 240)
HSLhsl(273, 56%, 87%)
CMYKcmyk(7%, 16%, 0%, 6%)
LABlab(84.1 14.2 -16.0)
LCHlch(84.1 21.4 311.6)
OKLCHoklch(0.868 0.056 309.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfcaf0 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#dfcaf0 on black: 13.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green79.2%
Blue94.1%

CMYK percentages

Cyan7.1%
Magenta15.8%
Yellow0.0%
Key (black)5.9%

Color previews

#dfcaf0 text on a black background

contrast 13.84:1

Card sample

#dfcaf0 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcaf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfcaf0 in the Color Lab