Skip to content
Vectorlight.net

#87278d

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

HEX
#87278d
RGB
135, 39, 141
HSL
296.47°, 56.67%, 35.29%
OKLCH
0.46 0.18 325.42
Names
—
Lists

Codes

FormatValue
HEX#87278d
RGBrgb(135 39 141)
HSLhsl(296.47 56.67% 35.29%)
OKLCHoklch(0.46 0.18 325.42)
CMYKcmyk(4.26% 72.34% 0% 44.71%)
Android#ff87278d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #87278d;
background-color: #87278d;
bg-[#87278d]