Skip to content
Vectorlight.net

#795d9e

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

HEX
#795d9e
RGB
121, 93, 158
HSL
265.85°, 25.9%, 49.22%
OKLCH
0.53 0.1 302.91
Names
—
Lists

Codes

FormatValue
HEX#795d9e
RGBrgb(121 93 158)
HSLhsl(265.85 25.9% 49.22%)
OKLCHoklch(0.53 0.1 302.91)
CMYKcmyk(23.42% 41.14% 0% 38.04%)
Android#ff795d9e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #795d9e;
background-color: #795d9e;
bg-[#795d9e]