Skip to content
Vectorlight.net

#a74fbb

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

HEX
#a74fbb
RGB
167, 79, 187
HSL
288.89°, 44.26%, 52.16%
OKLCH
0.58 0.18 319.87
Names
—
Lists

Codes

FormatValue
HEX#a74fbb
RGBrgb(167 79 187)
HSLhsl(288.89 44.26% 52.16%)
OKLCHoklch(0.58 0.18 319.87)
CMYKcmyk(10.7% 57.75% 0% 26.67%)
Android#ffa74fbb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #a74fbb;
background-color: #a74fbb;
bg-[#a74fbb]