Skip to content
Vectorlight.net

#a74fdf

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

HEX
#a74fdf
RGB
167, 79, 223
HSL
276.67°, 69.23%, 59.22%
OKLCH
0.6 0.22 309.5
Names
—
Lists

Codes

FormatValue
HEX#a74fdf
RGBrgb(167 79 223)
HSLhsl(276.67 69.23% 59.22%)
OKLCHoklch(0.6 0.22 309.5)
CMYKcmyk(25.11% 64.57% 0% 12.55%)
Android#ffa74fdf

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

Recolor an SVG with this color

CSS

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