Skip to content
Vectorlight.net

#940eca

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

HEX
#940eca
RGB
148, 14, 202
HSL
282.77°, 87.04%, 42.35%
OKLCH
0.51 0.25 311.8
Names
—
Lists

Codes

FormatValue
HEX#940eca
RGBrgb(148 14 202)
HSLhsl(282.77 87.04% 42.35%)
OKLCHoklch(0.51 0.25 311.8)
CMYKcmyk(26.73% 93.07% 0% 20.78%)
Android#ff940eca

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
6.61:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.17:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#940eca"
Gradient stop
<stop stop-color="#940eca"/>
CSS variable + fill
:root { --c: #940eca; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #940eca;
background-color: #940eca;
bg-[#940eca]