Skip to content
Vectorlight.net

#a236ef

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

HEX
#a236ef
RGB
162, 54, 239
HSL
275.03°, 85.25%, 57.45%
OKLCH
0.58 0.26 306.14
Names
—
Lists

Codes

FormatValue
HEX#a236ef
RGBrgb(162 54 239)
HSLhsl(275.03 85.25% 57.45%)
OKLCHoklch(0.58 0.26 306.14)
CMYKcmyk(32.22% 77.41% 0% 6.27%)
Android#ffa236ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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