Skip to content
Vectorlight.net

#513def

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

HEX
#513def
RGB
81, 61, 239
HSL
246.74°, 84.76%, 58.82%
OKLCH
0.51 0.25 277.78
Names
—
Lists

Codes

FormatValue
HEX#513def
RGBrgb(81 61 239)
HSLhsl(246.74 84.76% 58.82%)
OKLCHoklch(0.51 0.25 277.78)
CMYKcmyk(66.11% 74.48% 0% 6.27%)
Android#ff513def

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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