Skip to content
Vectorlight.net

#940dd4

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

HEX
#940dd4
RGB
148, 13, 212
HSL
280.7°, 88.44%, 44.12%
OKLCH
0.52 0.26 309.33
Names
—
Lists

Codes

FormatValue
HEX#940dd4
RGBrgb(148 13 212)
HSLhsl(280.7 88.44% 44.12%)
OKLCHoklch(0.52 0.26 309.33)
CMYKcmyk(30.19% 93.87% 0% 16.86%)
Android#ff940dd4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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