Skip to content
Vectorlight.net

#795def

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

HEX
#795def
RGB
121, 93, 239
HSL
251.51°, 82.02%, 65.1%
OKLCH
0.59 0.21 286.85
Names
—
Lists

Codes

FormatValue
HEX#795def
RGBrgb(121 93 239)
HSLhsl(251.51 82.02% 65.1%)
OKLCHoklch(0.59 0.21 286.85)
CMYKcmyk(49.37% 61.09% 0% 6.27%)
Android#ff795def

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.54:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.62:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#795def"
Gradient stop
<stop stop-color="#795def"/>
CSS variable + fill
:root { --c: #795def; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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