Skip to content
Vectorlight.net

#8781fc

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

HEX
#8781fc
RGB
135, 129, 252
HSL
242.93°, 95.35%, 74.71%
OKLCH
0.67 0.18 282.66
Names
—
Lists

Codes

FormatValue
HEX#8781fc
RGBrgb(135 129 252)
HSLhsl(242.93 95.35% 74.71%)
OKLCHoklch(0.67 0.18 282.66)
CMYKcmyk(46.43% 48.81% 0% 1.18%)
Android#ff8781fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.19:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.57:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#8781fc"
Gradient stop
<stop stop-color="#8781fc"/>
CSS variable + fill
:root { --c: #8781fc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #8781fc;
background-color: #8781fc;
bg-[#8781fc]