Skip to content
Vectorlight.net

#795cbd

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

HEX
#795cbd
RGB
121, 92, 189
HSL
257.94°, 42.36%, 55.1%
OKLCH
0.55 0.15 294.9
Names
—
Lists

Codes

FormatValue
HEX#795cbd
RGBrgb(121 92 189)
HSLhsl(257.94 42.36% 55.1%)
OKLCHoklch(0.55 0.15 294.9)
CMYKcmyk(35.98% 51.32% 0% 25.88%)
Android#ff795cbd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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