Skip to content
Vectorlight.net

#652baf

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

HEX
#652baf
RGB
101, 43, 175
HSL
266.36°, 60.55%, 42.75%
OKLCH
0.45 0.19 297.93
Names
—
Lists

Codes

FormatValue
HEX#652baf
RGBrgb(101 43 175)
HSLhsl(266.36 60.55% 42.75%)
OKLCHoklch(0.45 0.19 297.93)
CMYKcmyk(42.29% 75.43% 0% 31.37%)
Android#ff652baf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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