Skip to content
Vectorlight.net

#ec82fa

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

HEX
#ec82fa
RGB
236, 130, 250
HSL
293°, 92.31%, 74.51%
OKLCH
0.77 0.2 322.8
Names
—
Lists

Codes

FormatValue
HEX#ec82fa
RGBrgb(236 130 250)
HSLhsl(293 92.31% 74.51%)
OKLCHoklch(0.77 0.2 322.8)
CMYKcmyk(5.6% 48% 0% 1.96%)
Android#ffec82fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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