Skip to content
Vectorlight.net

#a74ecf

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

HEX
#a74ecf
RGB
167, 78, 207
HSL
281.4°, 57.33%, 55.88%
OKLCH
0.59 0.2 313.78
Names
—
Lists

Codes

FormatValue
HEX#a74ecf
RGBrgb(167 78 207)
HSLhsl(281.4 57.33% 55.88%)
OKLCHoklch(0.59 0.2 313.78)
CMYKcmyk(19.32% 62.32% 0% 18.82%)
Android#ffa74ecf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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