Skip to content
Vectorlight.net

#7b52be

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

HEX
#7b52be
RGB
123, 82, 190
HSL
262.78°, 45.38%, 53.33%
OKLCH
0.54 0.16 298.2
Names
—
Lists

Codes

FormatValue
HEX#7b52be
RGBrgb(123 82 190)
HSLhsl(262.78 45.38% 53.33%)
OKLCHoklch(0.54 0.16 298.2)
CMYKcmyk(35.26% 56.84% 0% 25.49%)
Android#ff7b52be

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7b52be;
background-color: #7b52be;
bg-[#7b52be]