Skip to content
Vectorlight.net

#645eec

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

HEX
#645eec
RGB
100, 94, 236
HSL
242.54°, 78.89%, 64.71%
OKLCH
0.57 0.21 279.4
Names
—
Lists

Codes

FormatValue
HEX#645eec
RGBrgb(100 94 236)
HSLhsl(242.54 78.89% 64.71%)
OKLCHoklch(0.57 0.21 279.4)
CMYKcmyk(57.63% 60.17% 0% 7.45%)
Android#ff645eec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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