Skip to content
Vectorlight.net

#dfcaf9

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#dfcaf9
RGB
223, 202, 249
HSL
266.81°, 79.66%, 88.43%
OKLCH
0.87 0.07 305.3
Names
—
Lists

Codes

FormatValue
HEX#dfcaf9
RGBrgb(223 202 249)
HSLhsl(266.81 79.66% 88.43%)
OKLCHoklch(0.87 0.07 305.3)
CMYKcmyk(10.44% 18.88% 0% 2.35%)
Android#ffdfcaf9

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.50:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.95:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#dfcaf9"
Gradient stop
<stop stop-color="#dfcaf9"/>
CSS variable + fill
:root { --c: #dfcaf9; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #dfcaf9;
background-color: #dfcaf9;
bg-[#dfcaf9]