Skip to content
Vectorlight.net

#652fba

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

HEX
#652fba
RGB
101, 47, 186
HSL
263.31°, 59.66%, 45.69%
OKLCH
0.46 0.2 294.83
Names
—
Lists

Codes

FormatValue
HEX#652fba
RGBrgb(101 47 186)
HSLhsl(263.31 59.66% 45.69%)
OKLCHoklch(0.46 0.2 294.83)
CMYKcmyk(45.7% 74.73% 0% 27.06%)
Android#ff652fba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #652fba;
background-color: #652fba;
bg-[#652fba]