Skip to content
Vectorlight.net

#9538cf

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

HEX
#9538cf
RGB
149, 56, 207
HSL
276.95°, 61.13%, 51.57%
OKLCH
0.54 0.22 308.81
Names
—
Lists

Codes

FormatValue
HEX#9538cf
RGBrgb(149 56 207)
HSLhsl(276.95 61.13% 51.57%)
OKLCHoklch(0.54 0.22 308.81)
CMYKcmyk(28.02% 72.95% 0% 18.82%)
Android#ff9538cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9538cf;
background-color: #9538cf;
bg-[#9538cf]