Skip to content
Vectorlight.net

#c56dec

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

HEX
#c56dec
RGB
197, 109, 236
HSL
281.57°, 76.97%, 67.65%
OKLCH
0.68 0.2 314.38
Names
—
Lists

Codes

FormatValue
HEX#c56dec
RGBrgb(197 109 236)
HSLhsl(281.57 76.97% 67.65%)
OKLCHoklch(0.68 0.2 314.38)
CMYKcmyk(16.53% 53.81% 0% 7.45%)
Android#ffc56dec

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.10:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.77:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#c56dec"
Gradient stop
<stop stop-color="#c56dec"/>
CSS variable + fill
:root { --c: #c56dec; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #c56dec;
background-color: #c56dec;
bg-[#c56dec]