Skip to content
Vectorlight.net

#874ffa

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

HEX
#874ffa
RGB
135, 79, 250
HSL
259.65°, 94.48%, 64.51%
OKLCH
0.59 0.24 292.48
Names
—
Lists

Codes

FormatValue
HEX#874ffa
RGBrgb(135 79 250)
HSLhsl(259.65 94.48% 64.51%)
OKLCHoklch(0.59 0.24 292.48)
CMYKcmyk(46% 68.4% 0% 1.96%)
Android#ff874ffa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #874ffa;
background-color: #874ffa;
bg-[#874ffa]