Skip to content
Vectorlight.net

#a235ec

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

HEX
#a235ec
RGB
162, 53, 236
HSL
275.74°, 82.81%, 56.67%
OKLCH
0.58 0.26 306.85
Names
—
Lists

Codes

FormatValue
HEX#a235ec
RGBrgb(162 53 236)
HSLhsl(275.74 82.81% 56.67%)
OKLCHoklch(0.58 0.26 306.85)
CMYKcmyk(31.36% 77.54% 0% 7.45%)
Android#ffa235ec

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

Recolor an SVG with this color

CSS

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