Skip to content
Vectorlight.net

#795fcb

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

HEX
#795fcb
RGB
121, 95, 203
HSL
254.44°, 50.94%, 58.43%
OKLCH
0.56 0.16 291.47
Names
—
Lists

Codes

FormatValue
HEX#795fcb
RGBrgb(121 95 203)
HSLhsl(254.44 50.94% 58.43%)
OKLCHoklch(0.56 0.16 291.47)
CMYKcmyk(40.39% 53.2% 0% 20.39%)
Android#ff795fcb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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