Skip to content
Vectorlight.net

#f338dc

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

HEX
#f338dc
RGB
243, 56, 220
HSL
307.38°, 88.63%, 58.63%
OKLCH
0.68 0.27 333.87
Names
—
Lists

Codes

FormatValue
HEX#f338dc
RGBrgb(243 56 220)
HSLhsl(307.38 88.63% 58.63%)
OKLCHoklch(0.68 0.27 333.87)
CMYKcmyk(0% 76.95% 9.47% 4.71%)
Android#fff338dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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