Skip to content
Vectorlight.net

#974fed

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

HEX
#974fed
RGB
151, 79, 237
HSL
267.34°, 81.44%, 61.96%
OKLCH
0.59 0.23 300.5
Names
—
Lists

Codes

FormatValue
HEX#974fed
RGBrgb(151 79 237)
HSLhsl(267.34 81.44% 61.96%)
OKLCHoklch(0.59 0.23 300.5)
CMYKcmyk(36.29% 66.67% 0% 7.06%)
Android#ff974fed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #974fed;
background-color: #974fed;
bg-[#974fed]