Skip to content
Vectorlight.net

#f64dfa

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

HEX
#f64dfa
RGB
246, 77, 250
HSL
298.61°, 94.54%, 64.12%
OKLCH
0.72 0.27 326.97
Names
—
Lists

Codes

FormatValue
HEX#f64dfa
RGBrgb(246 77 250)
HSLhsl(298.61 94.54% 64.12%)
OKLCHoklch(0.72 0.27 326.97)
CMYKcmyk(1.6% 69.2% 0% 1.96%)
Android#fff64dfa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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