Skip to content
Vectorlight.net

#783aba

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

HEX
#783aba
RGB
120, 58, 186
HSL
269.06°, 52.46%, 47.84%
OKLCH
0.5 0.19 301.96
Names
—
Lists

Codes

FormatValue
HEX#783aba
RGBrgb(120 58 186)
HSLhsl(269.06 52.46% 47.84%)
OKLCHoklch(0.5 0.19 301.96)
CMYKcmyk(35.48% 68.82% 0% 27.06%)
Android#ff783aba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #783aba;
background-color: #783aba;
bg-[#783aba]