Skip to content
Vectorlight.net

#7836cd

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

HEX
#7836cd
RGB
120, 54, 205
HSL
266.23°, 60.16%, 50.78%
OKLCH
0.51 0.22 298.01
Names
—
Lists

Codes

FormatValue
HEX#7836cd
RGBrgb(120 54 205)
HSLhsl(266.23 60.16% 50.78%)
OKLCHoklch(0.51 0.22 298.01)
CMYKcmyk(41.46% 73.66% 0% 19.61%)
Android#ff7836cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7836cd;
background-color: #7836cd;
bg-[#7836cd]