Skip to content
Vectorlight.net

#f795dc

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

HEX
#f795dc
RGB
247, 149, 220
HSL
316.53°, 85.96%, 77.65%
OKLCH
0.79 0.15 337.91
Names
—
Lists

Codes

FormatValue
HEX#f795dc
RGBrgb(247 149 220)
HSLhsl(316.53 85.96% 77.65%)
OKLCHoklch(0.79 0.15 337.91)
CMYKcmyk(0% 39.68% 10.93% 3.14%)
Android#fff795dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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