Skip to content
Vectorlight.net

#974afd

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

HEX
#974afd
RGB
151, 74, 253
HSL
265.81°, 97.81%, 64.12%
OKLCH
0.6 0.25 298.07
Names
—
Lists

Codes

FormatValue
HEX#974afd
RGBrgb(151 74 253)
HSLhsl(265.81 97.81% 64.12%)
OKLCHoklch(0.6 0.25 298.07)
CMYKcmyk(40.32% 70.75% 0% 0.78%)
Android#ff974afd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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