Skip to content
Vectorlight.net

#9400cb

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

HEX
#9400cb
RGB
148, 0, 203
HSL
283.74°, 100%, 39.8%
OKLCH
0.51 0.25 311.8
Names
—
Lists

Codes

FormatValue
HEX#9400cb
RGBrgb(148 0 203)
HSLhsl(283.74 100% 39.8%)
OKLCHoklch(0.51 0.25 311.8)
CMYKcmyk(27.09% 100% 0% 20.39%)
Android#ff9400cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9400cb;
background-color: #9400cb;
bg-[#9400cb]