Skip to content
Vectorlight.net

#a428eb

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

HEX
#a428eb
RGB
164, 40, 235
HSL
278.15°, 82.98%, 53.92%
OKLCH
0.57 0.27 308.42
Names
—
Lists

Codes

FormatValue
HEX#a428eb
RGBrgb(164 40 235)
HSLhsl(278.15 82.98% 53.92%)
OKLCHoklch(0.57 0.27 308.42)
CMYKcmyk(30.21% 82.98% 0% 7.84%)
Android#ffa428eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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