Skip to content
Vectorlight.net

#8731bc

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

HEX
#8731bc
RGB
135, 49, 188
HSL
277.12°, 58.65%, 46.47%
OKLCH
0.51 0.21 308.9
Names
—
Lists

Codes

FormatValue
HEX#8731bc
RGBrgb(135 49 188)
HSLhsl(277.12 58.65% 46.47%)
OKLCHoklch(0.51 0.21 308.9)
CMYKcmyk(28.19% 73.94% 0% 26.27%)
Android#ff8731bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #8731bc;
background-color: #8731bc;
bg-[#8731bc]