Skip to content
Vectorlight.net

#874ffd

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

HEX
#874ffd
RGB
135, 79, 253
HSL
259.31°, 97.75%, 65.1%
OKLCH
0.59 0.24 292.03
Names
—
Lists

Codes

FormatValue
HEX#874ffd
RGBrgb(135 79 253)
HSLhsl(259.31 97.75% 65.1%)
OKLCHoklch(0.59 0.24 292.03)
CMYKcmyk(46.64% 68.77% 0% 0.78%)
Android#ff874ffd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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