Skip to content
Vectorlight.net

#793dcb

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

HEX
#793dcb
RGB
121, 61, 203
HSL
265.35°, 57.72%, 51.76%
OKLCH
0.51 0.21 298
Names
—
Lists

Codes

FormatValue
HEX#793dcb
RGBrgb(121 61 203)
HSLhsl(265.35 57.72% 51.76%)
OKLCHoklch(0.51 0.21 298)
CMYKcmyk(40.39% 69.95% 0% 20.39%)
Android#ff793dcb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #793dcb;
background-color: #793dcb;
bg-[#793dcb]