Skip to content
Vectorlight.net

#a128eb

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

HEX
#a128eb
RGB
161, 40, 235
HSL
277.23°, 82.98%, 53.92%
OKLCH
0.57 0.27 307.45
Names
—
Lists

Codes

FormatValue
HEX#a128eb
RGBrgb(161 40 235)
HSLhsl(277.23 82.98% 53.92%)
OKLCHoklch(0.57 0.27 307.45)
CMYKcmyk(31.49% 82.98% 0% 7.84%)
Android#ffa128eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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