Skip to content
Vectorlight.net

#9040cd

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

HEX
#9040cd
RGB
144, 64, 205
HSL
274.04°, 58.51%, 52.75%
OKLCH
0.54 0.21 306.64
Names
—
Lists

Codes

FormatValue
HEX#9040cd
RGBrgb(144 64 205)
HSLhsl(274.04 58.51% 52.75%)
OKLCHoklch(0.54 0.21 306.64)
CMYKcmyk(29.76% 68.78% 0% 19.61%)
Android#ff9040cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9040cd;
background-color: #9040cd;
bg-[#9040cd]