Skip to content
Vectorlight.net

#f282ec

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

HEX
#f282ec
RGB
242, 130, 236
HSL
303.21°, 81.16%, 72.94%
OKLCH
0.77 0.19 329.21
Names
—
Lists

Codes

FormatValue
HEX#f282ec
RGBrgb(242 130 236)
HSLhsl(303.21 81.16% 72.94%)
OKLCHoklch(0.77 0.19 329.21)
CMYKcmyk(0% 46.28% 2.48% 5.1%)
Android#fff282ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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