Skip to content
Vectorlight.net

#5145ce

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

HEX
#5145ce
RGB
81, 69, 206
HSL
245.26°, 58.3%, 53.92%
OKLCH
0.49 0.2 279.77
Names
—
Lists

Codes

FormatValue
HEX#5145ce
RGBrgb(81 69 206)
HSLhsl(245.26 58.3% 53.92%)
OKLCHoklch(0.49 0.2 279.77)
CMYKcmyk(60.68% 66.5% 0% 19.22%)
Android#ff5145ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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