Skip to content
Vectorlight.net

#a727bd

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

HEX
#a727bd
RGB
167, 39, 189
HSL
291.2°, 65.79%, 44.71%
OKLCH
0.54 0.23 321.14
Names
—
Lists

Codes

FormatValue
HEX#a727bd
RGBrgb(167 39 189)
HSLhsl(291.2 65.79% 44.71%)
OKLCHoklch(0.54 0.23 321.14)
CMYKcmyk(11.64% 79.37% 0% 25.88%)
Android#ffa727bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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