Skip to content
Vectorlight.net

#7d5bec

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

HEX
#7d5bec
RGB
125, 91, 236
HSL
254.07°, 79.23%, 64.12%
OKLCH
0.58 0.21 289.1
Names
—
Lists

Codes

FormatValue
HEX#7d5bec
RGBrgb(125 91 236)
HSLhsl(254.07 79.23% 64.12%)
OKLCHoklch(0.58 0.21 289.1)
CMYKcmyk(47.03% 61.44% 0% 7.45%)
Android#ff7d5bec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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