Skip to content
Vectorlight.net

#9d0682

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

HEX
#9d0682
RGB
157, 6, 130
HSL
310.73°, 92.64%, 31.96%
OKLCH
0.47 0.2 338.25
Names
—
Lists

Codes

FormatValue
HEX#9d0682
RGBrgb(157 6 130)
HSLhsl(310.73 92.64% 31.96%)
OKLCHoklch(0.47 0.2 338.25)
CMYKcmyk(0% 96.18% 17.2% 38.43%)
Android#ff9d0682

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9d0682;
background-color: #9d0682;
bg-[#9d0682]