Skip to content
Vectorlight.net

#a237a5

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

HEX
#a237a5
RGB
162, 55, 165
HSL
298.36°, 50%, 43.14%
OKLCH
0.53 0.19 326.72
Names
—
Lists

Codes

FormatValue
HEX#a237a5
RGBrgb(162 55 165)
HSLhsl(298.36 50% 43.14%)
OKLCHoklch(0.53 0.19 326.72)
CMYKcmyk(1.82% 66.67% 0% 35.29%)
Android#ffa237a5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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