Skip to content
Vectorlight.net

#504dca

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

HEX
#504dca
RGB
80, 77, 202
HSL
241.44°, 54.11%, 54.71%
OKLCH
0.5 0.19 278.17
Names
—
Lists

Codes

FormatValue
HEX#504dca
RGBrgb(80 77 202)
HSLhsl(241.44 54.11% 54.71%)
OKLCHoklch(0.5 0.19 278.17)
CMYKcmyk(60.4% 61.88% 0% 20.78%)
Android#ff504dca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #504dca;
background-color: #504dca;
bg-[#504dca]