Skip to content
Vectorlight.net

#504dae

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

HEX
#504dae
RGB
80, 77, 174
HSL
241.86°, 38.65%, 49.22%
OKLCH
0.48 0.15 280.43
Names
—
Lists

Codes

FormatValue
HEX#504dae
RGBrgb(80 77 174)
HSLhsl(241.86 38.65% 49.22%)
OKLCHoklch(0.48 0.15 280.43)
CMYKcmyk(54.02% 55.75% 0% 31.76%)
Android#ff504dae

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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