Skip to content
Vectorlight.net

#7945bc

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

HEX
#7945bc
RGB
121, 69, 188
HSL
266.22°, 47.04%, 50.39%
OKLCH
0.51 0.18 300.23
Names
—
Lists

Codes

FormatValue
HEX#7945bc
RGBrgb(121 69 188)
HSLhsl(266.22 47.04% 50.39%)
OKLCHoklch(0.51 0.18 300.23)
CMYKcmyk(35.64% 63.3% 0% 26.27%)
Android#ff7945bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7945bc;
background-color: #7945bc;
bg-[#7945bc]