Skip to content
Vectorlight.net

#871fe6

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

HEX
#871fe6
RGB
135, 31, 230
HSL
271.36°, 79.92%, 51.18%
OKLCH
0.53 0.26 300.17
Names
—
Lists

Codes

FormatValue
HEX#871fe6
RGBrgb(135 31 230)
HSLhsl(271.36 79.92% 51.18%)
OKLCHoklch(0.53 0.26 300.17)
CMYKcmyk(41.3% 86.52% 0% 9.8%)
Android#ff871fe6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #871fe6;
background-color: #871fe6;
bg-[#871fe6]