Skip to content
Vectorlight.net

#970cbc

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

HEX
#970cbc
RGB
151, 12, 188
HSL
287.39°, 88%, 39.22%
OKLCH
0.5 0.24 316.64
Names
—
Lists

Codes

FormatValue
HEX#970cbc
RGBrgb(151 12 188)
HSLhsl(287.39 88% 39.22%)
OKLCHoklch(0.5 0.24 316.64)
CMYKcmyk(19.68% 93.62% 0% 26.27%)
Android#ff970cbc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #970cbc;
background-color: #970cbc;
bg-[#970cbc]