Skip to content
Vectorlight.net

#81237a

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

HEX
#81237a
RGB
129, 35, 122
HSL
304.47°, 57.32%, 32.16%
OKLCH
0.44 0.16 331.18
Names
—
Lists

Codes

FormatValue
HEX#81237a
RGBrgb(129 35 122)
HSLhsl(304.47 57.32% 32.16%)
OKLCHoklch(0.44 0.16 331.18)
CMYKcmyk(0% 72.87% 5.43% 49.41%)
Android#ff81237a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #81237a;
background-color: #81237a;
bg-[#81237a]