Skip to content
Vectorlight.net

#87237a

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

HEX
#87237a
RGB
135, 35, 122
HSL
307.8°, 58.82%, 33.33%
OKLCH
0.45 0.17 333.81
Names
—
Lists

Codes

FormatValue
HEX#87237a
RGBrgb(135 35 122)
HSLhsl(307.8 58.82% 33.33%)
OKLCHoklch(0.45 0.17 333.81)
CMYKcmyk(0% 74.07% 9.63% 47.06%)
Android#ff87237a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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