Skip to content
Vectorlight.net

#74178f

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

HEX
#74178f
RGB
116, 23, 143
HSL
286.5°, 72.29%, 32.55%
OKLCH
0.42 0.19 316.84
Names
—
Lists

Codes

FormatValue
HEX#74178f
RGBrgb(116 23 143)
HSLhsl(286.5 72.29% 32.55%)
OKLCHoklch(0.42 0.19 316.84)
CMYKcmyk(18.88% 83.92% 0% 43.92%)
Android#ff74178f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #74178f;
background-color: #74178f;
bg-[#74178f]