Skip to content
Vectorlight.net

#9702af

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

HEX
#9702af
RGB
151, 2, 175
HSL
291.68°, 97.74%, 34.71%
OKLCH
0.49 0.23 320.57
Names
—
Lists

Codes

FormatValue
HEX#9702af
RGBrgb(151 2 175)
HSLhsl(291.68 97.74% 34.71%)
OKLCHoklch(0.49 0.23 320.57)
CMYKcmyk(13.71% 98.86% 0% 31.37%)
Android#ff9702af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9702af;
background-color: #9702af;
bg-[#9702af]