Skip to content
Vectorlight.net

#5160fa

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

HEX
#5160fa
RGB
81, 96, 250
HSL
234.67°, 94.41%, 64.9%
OKLCH
0.57 0.23 272.62
Names
—
Lists

Codes

FormatValue
HEX#5160fa
RGBrgb(81 96 250)
HSLhsl(234.67 94.41% 64.9%)
OKLCHoklch(0.57 0.23 272.62)
CMYKcmyk(67.6% 61.6% 0% 1.96%)
Android#ff5160fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5160fa;
background-color: #5160fa;
bg-[#5160fa]