Skip to content
Vectorlight.net

#7f668d

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

HEX
#7f668d
RGB
127, 102, 141
HSL
278.46°, 16.05%, 47.65%
OKLCH
0.55 0.07 313.18
Names
—
Lists

Codes

FormatValue
HEX#7f668d
RGBrgb(127 102 141)
HSLhsl(278.46 16.05% 47.65%)
OKLCHoklch(0.55 0.07 313.18)
CMYKcmyk(9.93% 27.66% 0% 44.71%)
Android#ff7f668d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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