Skip to content
Vectorlight.net

#afa1da

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

HEX
#afa1da
RGB
175, 161, 218
HSL
254.74°, 43.51%, 74.31%
OKLCH
0.74 0.08 295.59
Names
—
Lists

Codes

FormatValue
HEX#afa1da
RGBrgb(175 161 218)
HSLhsl(254.74 43.51% 74.31%)
OKLCHoklch(0.74 0.08 295.59)
CMYKcmyk(19.72% 26.15% 0% 14.51%)
Android#ffafa1da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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