Skip to content
Vectorlight.net

#a162fb

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

HEX
#a162fb
RGB
161, 98, 251
HSL
264.71°, 95.03%, 68.43%
OKLCH
0.64 0.22 299.05
Names
—
Lists

Codes

FormatValue
HEX#a162fb
RGBrgb(161 98 251)
HSLhsl(264.71 95.03% 68.43%)
OKLCHoklch(0.64 0.22 299.05)
CMYKcmyk(35.86% 60.96% 0% 1.57%)
Android#ffa162fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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