Skip to content
Vectorlight.net

#9040db

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

HEX
#9040db
RGB
144, 64, 219
HSL
270.97°, 68.28%, 55.49%
OKLCH
0.56 0.22 303.33
Names
—
Lists

Codes

FormatValue
HEX#9040db
RGBrgb(144 64 219)
HSLhsl(270.97 68.28% 55.49%)
OKLCHoklch(0.56 0.22 303.33)
CMYKcmyk(34.25% 70.78% 0% 14.12%)
Android#ff9040db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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