Skip to content
Vectorlight.net

#a74eea

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

HEX
#a74eea
RGB
167, 78, 234
HSL
274.23°, 78.79%, 61.18%
OKLCH
0.61 0.23 307.02
Names
—
Lists

Codes

FormatValue
HEX#a74eea
RGBrgb(167 78 234)
HSLhsl(274.23 78.79% 61.18%)
OKLCHoklch(0.61 0.23 307.02)
CMYKcmyk(28.63% 66.67% 0% 8.24%)
Android#ffa74eea

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.26:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.92:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#a74eea"
Gradient stop
<stop stop-color="#a74eea"/>
CSS variable + fill
:root { --c: #a74eea; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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