Skip to content
Vectorlight.net

#940ddc

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

HEX
#940ddc
RGB
148, 13, 220
HSL
279.13°, 88.84%, 45.69%
OKLCH
0.53 0.26 307.44
Names
—
Lists

Codes

FormatValue
HEX#940ddc
RGBrgb(148 13 220)
HSLhsl(279.13 88.84% 45.69%)
OKLCHoklch(0.53 0.26 307.44)
CMYKcmyk(32.73% 94.09% 0% 13.73%)
Android#ff940ddc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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