Skip to content
Vectorlight.net

#f065ea

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

HEX
#f065ea
RGB
240, 101, 234
HSL
302.59°, 82.25%, 66.86%
OKLCH
0.73 0.23 329.33
Names
—
Lists

Codes

FormatValue
HEX#f065ea
RGBrgb(240 101 234)
HSLhsl(302.59 82.25% 66.86%)
OKLCHoklch(0.73 0.23 329.33)
CMYKcmyk(0% 57.92% 2.5% 5.88%)
Android#fff065ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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