Skip to content
Vectorlight.net

#974dbf

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

HEX
#974dbf
RGB
151, 77, 191
HSL
278.95°, 47.11%, 52.55%
OKLCH
0.56 0.18 311.95
Names
—
Lists

Codes

FormatValue
HEX#974dbf
RGBrgb(151 77 191)
HSLhsl(278.95 47.11% 52.55%)
OKLCHoklch(0.56 0.18 311.95)
CMYKcmyk(20.94% 59.69% 0% 25.1%)
Android#ff974dbf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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