Skip to content
Vectorlight.net

#a12ceb

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

HEX
#a12ceb
RGB
161, 44, 235
HSL
276.75°, 82.68%, 54.71%
OKLCH
0.57 0.26 307.25
Names
—
Lists

Codes

FormatValue
HEX#a12ceb
RGBrgb(161 44 235)
HSLhsl(276.75 82.68% 54.71%)
OKLCHoklch(0.57 0.26 307.25)
CMYKcmyk(31.49% 81.28% 0% 7.84%)
Android#ffa12ceb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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