Skip to content
Vectorlight.net

#7901cb

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

HEX
#7901cb
RGB
121, 1, 203
HSL
275.64°, 99.02%, 40%
OKLCH
0.47 0.25 302
Names
—
Lists

Codes

FormatValue
HEX#7901cb
RGBrgb(121 1 203)
HSLhsl(275.64 99.02% 40%)
OKLCHoklch(0.47 0.25 302)
CMYKcmyk(40.39% 99.51% 0% 20.39%)
Android#ff7901cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7901cb;
background-color: #7901cb;
bg-[#7901cb]