Skip to content
Vectorlight.net

#af94cd

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

HEX
#af94cd
RGB
175, 148, 205
HSL
268.42°, 36.31%, 69.22%
OKLCH
0.71 0.09 305.92
Names
—
Lists

Codes

FormatValue
HEX#af94cd
RGBrgb(175 148 205)
HSLhsl(268.42 36.31% 69.22%)
OKLCHoklch(0.71 0.09 305.92)
CMYKcmyk(14.63% 27.8% 0% 19.61%)
Android#ffaf94cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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