Skip to content
Vectorlight.net

#a23efa

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

HEX
#a23efa
RGB
162, 62, 250
HSL
271.91°, 94.95%, 61.18%
OKLCH
0.6 0.26 303.34
Names
—
Lists

Codes

FormatValue
HEX#a23efa
RGBrgb(162 62 250)
HSLhsl(271.91 94.95% 61.18%)
OKLCHoklch(0.6 0.26 303.34)
CMYKcmyk(35.2% 75.2% 0% 1.96%)
Android#ffa23efa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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