Skip to content
Vectorlight.net

#6c47dc

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

HEX
#6c47dc
RGB
108, 71, 220
HSL
254.9°, 68.04%, 57.06%
OKLCH
0.53 0.21 288.16
Names
—
Lists

Codes

FormatValue
HEX#6c47dc
RGBrgb(108 71 220)
HSLhsl(254.9 68.04% 57.06%)
OKLCHoklch(0.53 0.21 288.16)
CMYKcmyk(50.91% 67.73% 0% 13.73%)
Android#ff6c47dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #6c47dc;
background-color: #6c47dc;
bg-[#6c47dc]