Skip to content
Vectorlight.net

#afafea

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

HEX
#afafea
RGB
175, 175, 234
HSL
240°, 58.42%, 80.2%
OKLCH
0.78 0.08 284.28
Names
—
Lists

Codes

FormatValue
HEX#afafea
RGBrgb(175 175 234)
HSLhsl(240 58.42% 80.2%)
OKLCHoklch(0.78 0.08 284.28)
CMYKcmyk(25.21% 25.21% 0% 8.24%)
Android#ffafafea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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