Skip to content
Vectorlight.net

#a239e5

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

HEX
#a239e5
RGB
162, 57, 229
HSL
276.63°, 76.79%, 56.08%
OKLCH
0.58 0.25 308.14
Names
—
Lists

Codes

FormatValue
HEX#a239e5
RGBrgb(162 57 229)
HSLhsl(276.63 76.79% 56.08%)
OKLCHoklch(0.58 0.25 308.14)
CMYKcmyk(29.26% 75.11% 0% 10.2%)
Android#ffa239e5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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