Skip to content
Vectorlight.net

#512eef

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

HEX
#512eef
RGB
81, 46, 239
HSL
250.88°, 85.78%, 55.88%
OKLCH
0.49 0.26 278.98
Names
—
Lists

Codes

FormatValue
HEX#512eef
RGBrgb(81 46 239)
HSLhsl(250.88 85.78% 55.88%)
OKLCHoklch(0.49 0.26 278.98)
CMYKcmyk(66.11% 80.75% 0% 6.27%)
Android#ff512eef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #512eef;
background-color: #512eef;
bg-[#512eef]