Skip to content
Vectorlight.net

#af98da

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

HEX
#af98da
RGB
175, 152, 218
HSL
260.91°, 47.14%, 72.55%
OKLCH
0.72 0.1 299.99
Names
—
Lists

Codes

FormatValue
HEX#af98da
RGBrgb(175 152 218)
HSLhsl(260.91 47.14% 72.55%)
OKLCHoklch(0.72 0.1 299.99)
CMYKcmyk(19.72% 30.28% 0% 14.51%)
Android#ffaf98da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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