Skip to content
Vectorlight.net

#a2a7df

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

HEX
#a2a7df
RGB
162, 167, 223
HSL
235.08°, 48.8%, 75.49%
OKLCH
0.74 0.08 280.27
Names
—
Lists

Codes

FormatValue
HEX#a2a7df
RGBrgb(162 167 223)
HSLhsl(235.08 48.8% 75.49%)
OKLCHoklch(0.74 0.08 280.27)
CMYKcmyk(27.35% 25.11% 0% 12.55%)
Android#ffa2a7df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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