Skip to content
Vectorlight.net

#afaaf6

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

HEX
#afaaf6
RGB
175, 170, 246
HSL
243.95°, 80.85%, 81.57%
OKLCH
0.77 0.11 286.59
Names
—
Lists

Codes

FormatValue
HEX#afaaf6
RGBrgb(175 170 246)
HSLhsl(243.95 80.85% 81.57%)
OKLCHoklch(0.77 0.11 286.59)
CMYKcmyk(28.86% 30.89% 0% 3.53%)
Android#ffafaaf6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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