Skip to content
Vectorlight.net

#af27ca

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

HEX
#af27ca
RGB
175, 39, 202
HSL
290.06°, 67.63%, 47.25%
OKLCH
0.56 0.24 320.09
Names
—
Lists

Codes

FormatValue
HEX#af27ca
RGBrgb(175 39 202)
HSLhsl(290.06 67.63% 47.25%)
OKLCHoklch(0.56 0.24 320.09)
CMYKcmyk(13.37% 80.69% 0% 20.78%)
Android#ffaf27ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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