Skip to content
Vectorlight.net

#a23aff

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

HEX
#a23aff
RGB
162, 58, 255
HSL
271.68°, 100%, 61.37%
OKLCH
0.6 0.27 302.66
Names
—
Lists

Codes

FormatValue
HEX#a23aff
RGBrgb(162 58 255)
HSLhsl(271.68 100% 61.37%)
OKLCHoklch(0.6 0.27 302.66)
CMYKcmyk(36.47% 77.25% 0% 0%)
Android#ffa23aff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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