Skip to content
Vectorlight.net

#645ffe

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

HEX
#645ffe
RGB
100, 95, 254
HSL
241.89°, 98.76%, 68.43%
OKLCH
0.58 0.23 278.03
Names
—
Lists

Codes

FormatValue
HEX#645ffe
RGBrgb(100 95 254)
HSLhsl(241.89 98.76% 68.43%)
OKLCHoklch(0.58 0.23 278.03)
CMYKcmyk(60.63% 62.6% 0% 0.39%)
Android#ff645ffe

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.55:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.60:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#645ffe"
Gradient stop
<stop stop-color="#645ffe"/>
CSS variable + fill
:root { --c: #645ffe; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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