Skip to content
Vectorlight.net

#af26ca

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

HEX
#af26ca
RGB
175, 38, 202
HSL
290.12°, 68.33%, 47.06%
OKLCH
0.56 0.24 320.12
Names
—
Lists

Codes

FormatValue
HEX#af26ca
RGBrgb(175 38 202)
HSLhsl(290.12 68.33% 47.06%)
OKLCHoklch(0.56 0.24 320.12)
CMYKcmyk(13.37% 81.19% 0% 20.78%)
Android#ffaf26ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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