Skip to content
Vectorlight.net

#520ddf

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

HEX
#520ddf
RGB
82, 13, 223
HSL
259.71°, 88.98%, 46.27%
OKLCH
0.45 0.26 282.8
Names
—
Lists

Codes

FormatValue
HEX#520ddf
RGBrgb(82 13 223)
HSLhsl(259.71 88.98% 46.27%)
OKLCHoklch(0.45 0.26 282.8)
CMYKcmyk(63.23% 94.17% 0% 12.55%)
Android#ff520ddf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #520ddf;
background-color: #520ddf;
bg-[#520ddf]