Skip to content
Vectorlight.net

#9338ea

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

HEX
#9338ea
RGB
147, 56, 234
HSL
270.67°, 80.91%, 56.86%
OKLCH
0.56 0.25 301.94
Names
—
Lists

Codes

FormatValue
HEX#9338ea
RGBrgb(147 56 234)
HSLhsl(270.67 80.91% 56.86%)
OKLCHoklch(0.56 0.25 301.94)
CMYKcmyk(37.18% 76.07% 0% 8.24%)
Android#ff9338ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9338ea;
background-color: #9338ea;
bg-[#9338ea]