Skip to content
Vectorlight.net

#a236a4

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

HEX
#a236a4
RGB
162, 54, 164
HSL
298.91°, 50.46%, 42.75%
OKLCH
0.53 0.19 327.1
Names
—
Lists

Codes

FormatValue
HEX#a236a4
RGBrgb(162 54 164)
HSLhsl(298.91 50.46% 42.75%)
OKLCHoklch(0.53 0.19 327.1)
CMYKcmyk(1.22% 67.07% 0% 35.69%)
Android#ffa236a4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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