Skip to content
Vectorlight.net

#874efb

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

HEX
#874efb
RGB
135, 78, 251
HSL
259.77°, 95.58%, 64.51%
OKLCH
0.59 0.24 292.45
Names
—
Lists

Codes

FormatValue
HEX#874efb
RGBrgb(135 78 251)
HSLhsl(259.77 95.58% 64.51%)
OKLCHoklch(0.59 0.24 292.45)
CMYKcmyk(46.22% 68.92% 0% 1.57%)
Android#ff874efb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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