Skip to content
Vectorlight.net

#5145d6

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

HEX
#5145d6
RGB
81, 69, 214
HSL
244.97°, 63.88%, 55.49%
OKLCH
0.5 0.21 279.02
Names
—
Lists

Codes

FormatValue
HEX#5145d6
RGBrgb(81 69 214)
HSLhsl(244.97 63.88% 55.49%)
OKLCHoklch(0.5 0.21 279.02)
CMYKcmyk(62.15% 67.76% 0% 16.08%)
Android#ff5145d6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5145d6;
background-color: #5145d6;
bg-[#5145d6]