Skip to content
Vectorlight.net

#f075dc

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

HEX
#f075dc
RGB
240, 117, 220
HSL
309.76°, 80.39%, 70%
OKLCH
0.74 0.19 333.89
Names
—
Lists

Codes

FormatValue
HEX#f075dc
RGBrgb(240 117 220)
HSLhsl(309.76 80.39% 70%)
OKLCHoklch(0.74 0.19 333.89)
CMYKcmyk(0% 51.25% 8.33% 5.88%)
Android#fff075dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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