Skip to content
Vectorlight.net

#af78ff

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

HEX
#af78ff
RGB
175, 120, 255
HSL
264.44°, 100%, 73.53%
OKLCH
0.69 0.19 300.14
Names
—
Lists

Codes

FormatValue
HEX#af78ff
RGBrgb(175 120 255)
HSLhsl(264.44 100% 73.53%)
OKLCHoklch(0.69 0.19 300.14)
CMYKcmyk(31.37% 52.94% 0% 0%)
Android#ffaf78ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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