Skip to content
Vectorlight.net

#780bca

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

HEX
#780bca
RGB
120, 11, 202
HSL
274.24°, 89.67%, 41.76%
OKLCH
0.47 0.24 301.59
Names
—
Lists

Codes

FormatValue
HEX#780bca
RGBrgb(120 11 202)
HSLhsl(274.24 89.67% 41.76%)
OKLCHoklch(0.47 0.24 301.59)
CMYKcmyk(40.59% 94.55% 0% 20.78%)
Android#ff780bca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #780bca;
background-color: #780bca;
bg-[#780bca]