Skip to content
Vectorlight.net

#513fdf

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

HEX
#513fdf
RGB
81, 63, 223
HSL
246.75°, 71.43%, 56.08%
OKLCH
0.5 0.23 279.02
Names
—
Lists

Codes

FormatValue
HEX#513fdf
RGBrgb(81 63 223)
HSLhsl(246.75 71.43% 56.08%)
OKLCHoklch(0.5 0.23 279.02)
CMYKcmyk(63.68% 71.75% 0% 12.55%)
Android#ff513fdf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #513fdf;
background-color: #513fdf;
bg-[#513fdf]