Skip to content
Vectorlight.net

#9142cb

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

HEX
#9142cb
RGB
145, 66, 203
HSL
274.6°, 56.85%, 52.75%
OKLCH
0.55 0.21 307.33
Names
—
Lists

Codes

FormatValue
HEX#9142cb
RGBrgb(145 66 203)
HSLhsl(274.6 56.85% 52.75%)
OKLCHoklch(0.55 0.21 307.33)
CMYKcmyk(28.57% 67.49% 0% 20.39%)
Android#ff9142cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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