Skip to content
Vectorlight.net

#a2afda

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

HEX
#a2afda
RGB
162, 175, 218
HSL
226.07°, 43.08%, 74.51%
OKLCH
0.76 0.06 271.69
Names
—
Lists

Codes

FormatValue
HEX#a2afda
RGBrgb(162 175 218)
HSLhsl(226.07 43.08% 74.51%)
OKLCHoklch(0.76 0.06 271.69)
CMYKcmyk(25.69% 19.72% 0% 14.51%)
Android#ffa2afda

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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