Skip to content
Vectorlight.net

#a74aeb

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

HEX
#a74aeb
RGB
167, 74, 235
HSL
274.66°, 80.1%, 60.59%
OKLCH
0.6 0.23 307.17
Names
—
Lists

Codes

FormatValue
HEX#a74aeb
RGBrgb(167 74 235)
HSLhsl(274.66 80.1% 60.59%)
OKLCHoklch(0.6 0.23 307.17)
CMYKcmyk(28.94% 68.51% 0% 7.84%)
Android#ffa74aeb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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