Skip to content
Vectorlight.net

#a2affb

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

HEX
#a2affb
RGB
162, 175, 251
HSL
231.24°, 91.75%, 80.98%
OKLCH
0.77 0.11 276.08
Names
—
Lists

Codes

FormatValue
HEX#a2affb
RGBrgb(162 175 251)
HSLhsl(231.24 91.75% 80.98%)
OKLCHoklch(0.77 0.11 276.08)
CMYKcmyk(35.46% 30.28% 0% 1.57%)
Android#ffa2affb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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