Skip to content
Vectorlight.net

#a126ea

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

HEX
#a126ea
RGB
161, 38, 234
HSL
277.65°, 82.35%, 53.33%
OKLCH
0.57 0.27 307.76
Names
—
Lists

Codes

FormatValue
HEX#a126ea
RGBrgb(161 38 234)
HSLhsl(277.65 82.35% 53.33%)
OKLCHoklch(0.57 0.27 307.76)
CMYKcmyk(31.2% 83.76% 0% 8.24%)
Android#ffa126ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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