Skip to content
Vectorlight.net

#970dbf

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

HEX
#970dbf
RGB
151, 13, 191
HSL
286.52°, 87.25%, 40%
OKLCH
0.51 0.24 315.79
Names
—
Lists

Codes

FormatValue
HEX#970dbf
RGBrgb(151 13 191)
HSLhsl(286.52 87.25% 40%)
OKLCHoklch(0.51 0.24 315.79)
CMYKcmyk(20.94% 93.19% 0% 25.1%)
Android#ff970dbf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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