Skip to content
Vectorlight.net

#877cfa

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

HEX
#877cfa
RGB
135, 124, 250
HSL
245.24°, 92.65%, 73.33%
OKLCH
0.66 0.18 284.17
Names
—
Lists

Codes

FormatValue
HEX#877cfa
RGBrgb(135 124 250)
HSLhsl(245.24 92.65% 73.33%)
OKLCHoklch(0.66 0.18 284.17)
CMYKcmyk(46% 50.4% 0% 1.96%)
Android#ff877cfa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #877cfa;
background-color: #877cfa;
bg-[#877cfa]