Skip to content
Vectorlight.net

#a236a1

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

HEX
#a236a1
RGB
162, 54, 161
HSL
300.56°, 50%, 42.35%
OKLCH
0.53 0.19 328.22
Names
—
Lists

Codes

FormatValue
HEX#a236a1
RGBrgb(162 54 161)
HSLhsl(300.56 50% 42.35%)
OKLCHoklch(0.53 0.19 328.22)
CMYKcmyk(0% 66.67% 0.62% 36.47%)
Android#ffa236a1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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