Skip to content
Vectorlight.net

#795aec

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

HEX
#795aec
RGB
121, 90, 236
HSL
252.74°, 79.35%, 63.92%
OKLCH
0.58 0.21 287.76
Names
—
Lists

Codes

FormatValue
HEX#795aec
RGBrgb(121 90 236)
HSLhsl(252.74 79.35% 63.92%)
OKLCHoklch(0.58 0.21 287.76)
CMYKcmyk(48.73% 61.86% 0% 7.45%)
Android#ff795aec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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