Skip to content
Vectorlight.net

#943efa

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

HEX
#943efa
RGB
148, 62, 250
HSL
267.45°, 94.95%, 61.18%
OKLCH
0.58 0.26 298.7
Names
—
Lists

Codes

FormatValue
HEX#943efa
RGBrgb(148 62 250)
HSLhsl(267.45 94.95% 61.18%)
OKLCHoklch(0.58 0.26 298.7)
CMYKcmyk(40.8% 75.2% 0% 1.96%)
Android#ff943efa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #943efa;
background-color: #943efa;
bg-[#943efa]