Skip to content
Vectorlight.net

#a125dd

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

HEX
#a125dd
RGB
161, 37, 221
HSL
280.43°, 73.02%, 50.59%
OKLCH
0.55 0.26 310.76
Names
—
Lists

Codes

FormatValue
HEX#a125dd
RGBrgb(161 37 221)
HSLhsl(280.43 73.02% 50.59%)
OKLCHoklch(0.55 0.26 310.76)
CMYKcmyk(27.15% 83.26% 0% 13.33%)
Android#ffa125dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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