Skip to content
Vectorlight.net

#97308e

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

HEX
#97308e
RGB
151, 48, 142
HSL
305.24°, 51.76%, 39.02%
OKLCH
0.5 0.17 331.57
Names
—
Lists

Codes

FormatValue
HEX#97308e
RGBrgb(151 48 142)
HSLhsl(305.24 51.76% 39.02%)
OKLCHoklch(0.5 0.17 331.57)
CMYKcmyk(0% 68.21% 5.96% 40.78%)
Android#ff97308e

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="#97308e"
Gradient stop
<stop stop-color="#97308e"/>
CSS variable + fill
:root { --c: #97308e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #97308e;
background-color: #97308e;
bg-[#97308e]