Skip to content
Vectorlight.net

#514dac

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

HEX
#514dac
RGB
81, 77, 172
HSL
242.53°, 38.15%, 48.82%
OKLCH
0.48 0.15 281.11
Names
—
Lists

Codes

FormatValue
HEX#514dac
RGBrgb(81 77 172)
HSLhsl(242.53 38.15% 48.82%)
OKLCHoklch(0.48 0.15 281.11)
CMYKcmyk(52.91% 55.23% 0% 32.55%)
Android#ff514dac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #514dac;
background-color: #514dac;
bg-[#514dac]