Skip to content
Vectorlight.net

#a236ea

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

HEX
#a236ea
RGB
162, 54, 234
HSL
276°, 81.08%, 56.47%
OKLCH
0.58 0.25 307.22
Names
—
Lists

Codes

FormatValue
HEX#a236ea
RGBrgb(162 54 234)
HSLhsl(276 81.08% 56.47%)
OKLCHoklch(0.58 0.25 307.22)
CMYKcmyk(30.77% 76.92% 0% 8.24%)
Android#ffa236ea

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="#a236ea"
Gradient stop
<stop stop-color="#a236ea"/>
CSS variable + fill
:root { --c: #a236ea; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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