Skip to content
Vectorlight.net

#a236ed

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

HEX
#a236ed
RGB
162, 54, 237
HSL
275.41°, 83.56%, 57.06%
OKLCH
0.58 0.26 306.57
Names
—
Lists

Codes

FormatValue
HEX#a236ed
RGBrgb(162 54 237)
HSLhsl(275.41 83.56% 57.06%)
OKLCHoklch(0.58 0.26 306.57)
CMYKcmyk(31.65% 77.22% 0% 7.06%)
Android#ffa236ed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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