Skip to content
Vectorlight.net

#97307f

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

HEX
#97307f
RGB
151, 48, 127
HSL
313.98°, 51.76%, 39.02%
OKLCH
0.49 0.16 338.4
Names
—
Lists

Codes

FormatValue
HEX#97307f
RGBrgb(151 48 127)
HSLhsl(313.98 51.76% 39.02%)
OKLCHoklch(0.49 0.16 338.4)
CMYKcmyk(0% 68.21% 15.89% 40.78%)
Android#ff97307f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #97307f;
background-color: #97307f;
bg-[#97307f]