Skip to content
Vectorlight.net

#9640db

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

HEX
#9640db
RGB
150, 64, 219
HSL
273.29°, 68.28%, 55.49%
OKLCH
0.56 0.23 305.58
Names
—
Lists

Codes

FormatValue
HEX#9640db
RGBrgb(150 64 219)
HSLhsl(273.29 68.28% 55.49%)
OKLCHoklch(0.56 0.23 305.58)
CMYKcmyk(31.51% 70.78% 0% 14.12%)
Android#ff9640db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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