Skip to content

#dfcaef

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

RGB
223, 202, 239
HSL
274°, 54%, 87%
CMYK
7, 16, 0, 6
Luminance
0.6416

Every format

HEX#dfcaef
RGBrgb(223, 202, 239)
HSLhsl(274, 54%, 87%)
CMYKcmyk(7%, 16%, 0%, 6%)
LABlab(84.0 14.0 -15.5)
LCHlch(84.0 20.9 312.1)
OKLCHoklch(0.868 0.055 310.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green79.2%
Blue93.7%

CMYK percentages

Cyan6.7%
Magenta15.5%
Yellow0.0%
Key (black)6.3%

Color previews

#dfcaef text on a black background

contrast 13.83:1

Card sample

#dfcaef text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcaef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfcaef in the Color Lab