Skip to content
Vectorlight.net

#f575dc

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

HEX
#f575dc
RGB
245, 117, 220
HSL
311.72°, 86.49%, 70.98%
OKLCH
0.75 0.2 335.39
Names
—
Lists

Codes

FormatValue
HEX#f575dc
RGBrgb(245 117 220)
HSLhsl(311.72 86.49% 70.98%)
OKLCHoklch(0.75 0.2 335.39)
CMYKcmyk(0% 52.24% 10.2% 3.92%)
Android#fff575dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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