Skip to content
Vectorlight.net

#7948bb

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

HEX
#7948bb
RGB
121, 72, 187
HSL
265.57°, 45.82%, 50.78%
OKLCH
0.52 0.17 299.94
Names
—
Lists

Codes

FormatValue
HEX#7948bb
RGBrgb(121 72 187)
HSLhsl(265.57 45.82% 50.78%)
OKLCHoklch(0.52 0.17 299.94)
CMYKcmyk(35.29% 61.5% 0% 26.67%)
Android#ff7948bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7948bb;
background-color: #7948bb;
bg-[#7948bb]