Skip to content
Vectorlight.net

#a12deb

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

HEX
#a12deb
RGB
161, 45, 235
HSL
276.63°, 82.61%, 54.9%
OKLCH
0.57 0.26 307.2
Names
—
Lists

Codes

FormatValue
HEX#a12deb
RGBrgb(161 45 235)
HSLhsl(276.63 82.61% 54.9%)
OKLCHoklch(0.57 0.26 307.2)
CMYKcmyk(31.49% 80.85% 0% 7.84%)
Android#ffa12deb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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