Skip to content
Vectorlight.net

#5143da

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

HEX
#5143da
RGB
81, 67, 218
HSL
245.56°, 67.11%, 55.88%
OKLCH
0.5 0.22 278.96
Names
—
Lists

Codes

FormatValue
HEX#5143da
RGBrgb(81 67 218)
HSLhsl(245.56 67.11% 55.88%)
OKLCHoklch(0.5 0.22 278.96)
CMYKcmyk(62.84% 69.27% 0% 14.51%)
Android#ff5143da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5143da;
background-color: #5143da;
bg-[#5143da]