Skip to content
Vectorlight.net

#a23aee

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

HEX
#a23aee
RGB
162, 58, 238
HSL
274.67°, 84.11%, 58.04%
OKLCH
0.58 0.25 306.09
Names
—
Lists

Codes

FormatValue
HEX#a23aee
RGBrgb(162 58 238)
HSLhsl(274.67 84.11% 58.04%)
OKLCHoklch(0.58 0.25 306.09)
CMYKcmyk(31.93% 75.63% 0% 6.67%)
Android#ffa23aee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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