Skip to content
Vectorlight.net

#f340df

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

HEX
#f340df
RGB
243, 64, 223
HSL
306.7°, 88.18%, 60.2%
OKLCH
0.69 0.27 333.12
Names
—
Lists

Codes

FormatValue
HEX#f340df
RGBrgb(243 64 223)
HSLhsl(306.7 88.18% 60.2%)
OKLCHoklch(0.69 0.27 333.12)
CMYKcmyk(0% 73.66% 8.23% 4.71%)
Android#fff340df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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