Skip to content
Vectorlight.net

#dfaefb

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

HEX
#dfaefb
RGB
223, 174, 251
HSL
278.18°, 90.59%, 83.33%
OKLCH
0.82 0.12 312.84
Names
—
Lists

Codes

FormatValue
HEX#dfaefb
RGBrgb(223 174 251)
HSLhsl(278.18 90.59% 83.33%)
OKLCHoklch(0.82 0.12 312.84)
CMYKcmyk(11.16% 30.68% 0% 1.57%)
Android#ffdfaefb

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.81:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.58: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="#dfaefb"
Gradient stop
<stop stop-color="#dfaefb"/>
CSS variable + fill
:root { --c: #dfaefb; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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