Skip to content
Vectorlight.net

#97308d

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

HEX
#97308d
RGB
151, 48, 141
HSL
305.83°, 51.76%, 39.02%
OKLCH
0.5 0.17 332
Names
—
Lists

Codes

FormatValue
HEX#97308d
RGBrgb(151 48 141)
HSLhsl(305.83 51.76% 39.02%)
OKLCHoklch(0.5 0.17 332)
CMYKcmyk(0% 68.21% 6.62% 40.78%)
Android#ff97308d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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