Skip to content
Vectorlight.net

#975fab

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

HEX
#975fab
RGB
151, 95, 171
HSL
284.21°, 31.15%, 52.16%
OKLCH
0.58 0.13 316.73
Names
—
Lists

Codes

FormatValue
HEX#975fab
RGBrgb(151 95 171)
HSLhsl(284.21 31.15% 52.16%)
OKLCHoklch(0.58 0.13 316.73)
CMYKcmyk(11.7% 44.44% 0% 32.94%)
Android#ff975fab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #975fab;
background-color: #975fab;
bg-[#975fab]