Skip to content
Vectorlight.net

#a124ba

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

HEX
#a124ba
RGB
161, 36, 186
HSL
290°, 67.57%, 43.53%
OKLCH
0.53 0.23 320.06
Names
—
Lists

Codes

FormatValue
HEX#a124ba
RGBrgb(161 36 186)
HSLhsl(290 67.57% 43.53%)
OKLCHoklch(0.53 0.23 320.06)
CMYKcmyk(13.44% 80.65% 0% 27.06%)
Android#ffa124ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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