Skip to content
Vectorlight.net

#7b48fa

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

HEX
#7b48fa
RGB
123, 72, 250
HSL
257.19°, 94.68%, 63.14%
OKLCH
0.57 0.25 289.17
Names
—
Lists

Codes

FormatValue
HEX#7b48fa
RGBrgb(123 72 250)
HSLhsl(257.19 94.68% 63.14%)
OKLCHoklch(0.57 0.25 289.17)
CMYKcmyk(50.8% 71.2% 0% 1.96%)
Android#ff7b48fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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