Skip to content
Vectorlight.net

#795bfd

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

HEX
#795bfd
RGB
121, 91, 253
HSL
251.11°, 97.59%, 67.45%
OKLCH
0.59 0.23 285.56
Names
—
Lists

Codes

FormatValue
HEX#795bfd
RGBrgb(121 91 253)
HSLhsl(251.11 97.59% 67.45%)
OKLCHoklch(0.59 0.23 285.56)
CMYKcmyk(52.17% 64.03% 0% 0.78%)
Android#ff795bfd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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