Skip to content
Vectorlight.net

#791dda

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

HEX
#791dda
RGB
121, 29, 218
HSL
269.21°, 76.52%, 48.43%
OKLCH
0.5 0.25 297.68
Names
—
Lists

Codes

FormatValue
HEX#791dda
RGBrgb(121 29 218)
HSLhsl(269.21 76.52% 48.43%)
OKLCHoklch(0.5 0.25 297.68)
CMYKcmyk(44.5% 86.7% 0% 14.51%)
Android#ff791dda

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #791dda;
background-color: #791dda;
bg-[#791dda]