Skip to content
Vectorlight.net

#a235ea

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

HEX
#a235ea
RGB
162, 53, 234
HSL
276.13°, 81.17%, 56.27%
OKLCH
0.58 0.25 307.28
Names
—
Lists

Codes

FormatValue
HEX#a235ea
RGBrgb(162 53 234)
HSLhsl(276.13 81.17% 56.27%)
OKLCHoklch(0.58 0.25 307.28)
CMYKcmyk(30.77% 77.35% 0% 8.24%)
Android#ffa235ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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