Skip to content
Vectorlight.net

#a232eb

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

HEX
#a232eb
RGB
162, 50, 235
HSL
276.32°, 82.22%, 55.88%
OKLCH
0.58 0.26 307.25
Names
—
Lists

Codes

FormatValue
HEX#a232eb
RGBrgb(162 50 235)
HSLhsl(276.32 82.22% 55.88%)
OKLCHoklch(0.58 0.26 307.25)
CMYKcmyk(31.06% 78.72% 0% 7.84%)
Android#ffa232eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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