Skip to content
Vectorlight.net

#ffaefd

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

HEX
#ffaefd
RGB
255, 174, 253
HSL
301.48°, 100%, 84.12%
OKLCH
0.85 0.14 327.53
Names
—
Lists

Codes

FormatValue
HEX#ffaefd
RGBrgb(255 174 253)
HSLhsl(301.48 100% 84.12%)
OKLCHoklch(0.85 0.14 327.53)
CMYKcmyk(0% 31.76% 0.78% 0%)
Android#ffffaefd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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