Skip to content
Vectorlight.net

#a127eb

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

HEX
#a127eb
RGB
161, 39, 235
HSL
277.35°, 83.05%, 53.73%
OKLCH
0.57 0.27 307.49
Names
—
Lists

Codes

FormatValue
HEX#a127eb
RGBrgb(161 39 235)
HSLhsl(277.35 83.05% 53.73%)
OKLCHoklch(0.57 0.27 307.49)
CMYKcmyk(31.49% 83.4% 0% 7.84%)
Android#ffa127eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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