Skip to content
Vectorlight.net

#874ef3

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

HEX
#874ef3
RGB
135, 78, 243
HSL
260.73°, 87.3%, 62.94%
OKLCH
0.58 0.23 293.72
Names
—
Lists

Codes

FormatValue
HEX#874ef3
RGBrgb(135 78 243)
HSLhsl(260.73 87.3% 62.94%)
OKLCHoklch(0.58 0.23 293.72)
CMYKcmyk(44.44% 67.9% 0% 4.71%)
Android#ff874ef3

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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