Skip to content
Vectorlight.net

#97338f

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

HEX
#97338f
RGB
151, 51, 143
HSL
304.8°, 49.5%, 39.61%
OKLCH
0.5 0.17 331.15
Names
—
Lists

Codes

FormatValue
HEX#97338f
RGBrgb(151 51 143)
HSLhsl(304.8 49.5% 39.61%)
OKLCHoklch(0.5 0.17 331.15)
CMYKcmyk(0% 66.23% 5.3% 40.78%)
Android#ff97338f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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