Skip to content
Vectorlight.net

#a74db2

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

HEX
#a74db2
RGB
167, 77, 178
HSL
293.47°, 39.61%, 50%
OKLCH
0.57 0.17 323.18
Names
—
Lists

Codes

FormatValue
HEX#a74db2
RGBrgb(167 77 178)
HSLhsl(293.47 39.61% 50%)
OKLCHoklch(0.57 0.17 323.18)
CMYKcmyk(6.18% 56.74% 0% 30.2%)
Android#ffa74db2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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