Skip to content
Vectorlight.net

#645eea

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

HEX
#645eea
RGB
100, 94, 234
HSL
242.57°, 76.92%, 64.31%
OKLCH
0.57 0.2 279.55
Names
—
Lists

Codes

FormatValue
HEX#645eea
RGBrgb(100 94 234)
HSLhsl(242.57 76.92% 64.31%)
OKLCHoklch(0.57 0.2 279.55)
CMYKcmyk(57.26% 59.83% 0% 8.24%)
Android#ff645eea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #645eea;
background-color: #645eea;
bg-[#645eea]