Skip to content
Vectorlight.net

#7948bd

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

HEX
#7948bd
RGB
121, 72, 189
HSL
265.13°, 46.99%, 51.18%
OKLCH
0.52 0.18 299.46
Names
—
Lists

Codes

FormatValue
HEX#7948bd
RGBrgb(121 72 189)
HSLhsl(265.13 46.99% 51.18%)
OKLCHoklch(0.52 0.18 299.46)
CMYKcmyk(35.98% 61.9% 0% 25.88%)
Android#ff7948bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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