Skip to content
Vectorlight.net

#643aea

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

HEX
#643aea
RGB
100, 58, 234
HSL
254.32°, 80.73%, 57.25%
OKLCH
0.52 0.24 284.9
Names
—
Lists

Codes

FormatValue
HEX#643aea
RGBrgb(100 58 234)
HSLhsl(254.32 80.73% 57.25%)
OKLCHoklch(0.52 0.24 284.9)
CMYKcmyk(57.26% 75.21% 0% 8.24%)
Android#ff643aea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #643aea;
background-color: #643aea;
bg-[#643aea]