Skip to content
Vectorlight.net

#af54cd

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

HEX
#af54cd
RGB
175, 84, 205
HSL
285.12°, 54.75%, 56.67%
OKLCH
0.61 0.19 316.96
Names
—
Lists

Codes

FormatValue
HEX#af54cd
RGBrgb(175 84 205)
HSLhsl(285.12 54.75% 56.67%)
OKLCHoklch(0.61 0.19 316.96)
CMYKcmyk(14.63% 59.02% 0% 19.61%)
Android#ffaf54cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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