Skip to content
Vectorlight.net

#502dbe

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

HEX
#502dbe
RGB
80, 45, 190
HSL
254.48°, 61.7%, 46.08%
OKLCH
0.44 0.21 285.02
Names
—
Lists

Codes

FormatValue
HEX#502dbe
RGBrgb(80 45 190)
HSLhsl(254.48 61.7% 46.08%)
OKLCHoklch(0.44 0.21 285.02)
CMYKcmyk(57.89% 76.32% 0% 25.49%)
Android#ff502dbe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #502dbe;
background-color: #502dbe;
bg-[#502dbe]