Skip to content
Vectorlight.net

#8731da

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

HEX
#8731da
RGB
135, 49, 218
HSL
270.53°, 69.55%, 52.35%
OKLCH
0.53 0.24 301.55
Names
—
Lists

Codes

FormatValue
HEX#8731da
RGBrgb(135 49 218)
HSLhsl(270.53 69.55% 52.35%)
OKLCHoklch(0.53 0.24 301.55)
CMYKcmyk(38.07% 77.52% 0% 14.51%)
Android#ff8731da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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