Skip to content
Vectorlight.net

#a123ba

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

HEX
#a123ba
RGB
161, 35, 186
HSL
290.07°, 68.33%, 43.33%
OKLCH
0.53 0.23 320.09
Names
—
Lists

Codes

FormatValue
HEX#a123ba
RGBrgb(161 35 186)
HSLhsl(290.07 68.33% 43.33%)
OKLCHoklch(0.53 0.23 320.09)
CMYKcmyk(13.44% 81.18% 0% 27.06%)
Android#ffa123ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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