Skip to content
Vectorlight.net

#646ef6

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

HEX
#646ef6
RGB
100, 110, 246
HSL
235.89°, 89.02%, 67.84%
OKLCH
0.6 0.2 275.46
Names
—
Lists

Codes

FormatValue
HEX#646ef6
RGBrgb(100 110 246)
HSLhsl(235.89 89.02% 67.84%)
OKLCHoklch(0.6 0.2 275.46)
CMYKcmyk(59.35% 55.28% 0% 3.53%)
Android#ff646ef6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #646ef6;
background-color: #646ef6;
bg-[#646ef6]