Skip to content
Vectorlight.net

#af4ecf

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

HEX
#af4ecf
RGB
175, 78, 207
HSL
285.12°, 57.33%, 55.88%
OKLCH
0.6 0.2 316.82
Names
—
Lists

Codes

FormatValue
HEX#af4ecf
RGBrgb(175 78 207)
HSLhsl(285.12 57.33% 55.88%)
OKLCHoklch(0.6 0.2 316.82)
CMYKcmyk(15.46% 62.32% 0% 18.82%)
Android#ffaf4ecf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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