Skip to content
Vectorlight.net

#795eaf

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

HEX
#795eaf
RGB
121, 94, 175
HSL
260°, 33.61%, 52.75%
OKLCH
0.54 0.12 297.47
Names
—
Lists

Codes

FormatValue
HEX#795eaf
RGBrgb(121 94 175)
HSLhsl(260 33.61% 52.75%)
OKLCHoklch(0.54 0.12 297.47)
CMYKcmyk(30.86% 46.29% 0% 31.37%)
Android#ff795eaf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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