Skip to content
Vectorlight.net

#afaffe

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

HEX
#afaffe
RGB
175, 175, 254
HSL
240°, 97.53%, 84.12%
OKLCH
0.78 0.11 283.52
Names
—
Lists

Codes

FormatValue
HEX#afaffe
RGBrgb(175 175 254)
HSLhsl(240 97.53% 84.12%)
OKLCHoklch(0.78 0.11 283.52)
CMYKcmyk(31.1% 31.1% 0% 0.39%)
Android#ffafaffe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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