Skip to content
Vectorlight.net

#640ecb

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

HEX
#640ecb
RGB
100, 14, 203
HSL
267.3°, 87.1%, 42.55%
OKLCH
0.45 0.24 293.29
Names
—
Lists

Codes

FormatValue
HEX#640ecb
RGBrgb(100 14 203)
HSLhsl(267.3 87.1% 42.55%)
OKLCHoklch(0.45 0.24 293.29)
CMYKcmyk(50.74% 93.1% 0% 20.39%)
Android#ff640ecb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #640ecb;
background-color: #640ecb;
bg-[#640ecb]