Skip to content
Vectorlight.net

#a232ee

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

HEX
#a232ee
RGB
162, 50, 238
HSL
275.74°, 84.68%, 56.47%
OKLCH
0.58 0.26 306.6
Names
—
Lists

Codes

FormatValue
HEX#a232ee
RGBrgb(162 50 238)
HSLhsl(275.74 84.68% 56.47%)
OKLCHoklch(0.58 0.26 306.6)
CMYKcmyk(31.93% 78.99% 0% 6.67%)
Android#ffa232ee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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