Skip to content
Vectorlight.net

#7f487e

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

HEX
#7f487e
RGB
127, 72, 126
HSL
301.09°, 27.64%, 39.02%
OKLCH
0.49 0.11 327.7
Names
—
Lists

Codes

FormatValue
HEX#7f487e
RGBrgb(127 72 126)
HSLhsl(301.09 27.64% 39.02%)
OKLCHoklch(0.49 0.11 327.7)
CMYKcmyk(0% 43.31% 0.79% 50.2%)
Android#ff7f487e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7f487e;
background-color: #7f487e;
bg-[#7f487e]