Skip to content
Vectorlight.net

#9474ef

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

HEX
#9474ef
RGB
148, 116, 239
HSL
255.61°, 79.35%, 69.61%
OKLCH
0.65 0.18 292.72
Names
—
Lists

Codes

FormatValue
HEX#9474ef
RGBrgb(148 116 239)
HSLhsl(255.61 79.35% 69.61%)
OKLCHoklch(0.65 0.18 292.72)
CMYKcmyk(38.08% 51.46% 0% 6.27%)
Android#ff9474ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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

Recolor an SVG with this color

CSS

color / background
color: #9474ef;
background-color: #9474ef;
bg-[#9474ef]