Skip to content
Vectorlight.net

#a232ec

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

HEX
#a232ec
RGB
162, 50, 236
HSL
276.13°, 83.04%, 56.08%
OKLCH
0.58 0.26 307.03
Names
—
Lists

Codes

FormatValue
HEX#a232ec
RGBrgb(162 50 236)
HSLhsl(276.13 83.04% 56.08%)
OKLCHoklch(0.58 0.26 307.03)
CMYKcmyk(31.36% 78.81% 0% 7.45%)
Android#ffa232ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.99:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.20:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#a232ec"
Gradient stop
<stop stop-color="#a232ec"/>
CSS variable + fill
:root { --c: #a232ec; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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