Skip to content
Vectorlight.net

#5d52bd

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

HEX
#5d52bd
RGB
93, 82, 189
HSL
246.17°, 44.77%, 53.14%
OKLCH
0.51 0.16 283.64
Names
—
Lists

Codes

FormatValue
HEX#5d52bd
RGBrgb(93 82 189)
HSLhsl(246.17 44.77% 53.14%)
OKLCHoklch(0.51 0.16 283.64)
CMYKcmyk(50.79% 56.61% 0% 25.88%)
Android#ff5d52bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5d52bd;
background-color: #5d52bd;
bg-[#5d52bd]