Skip to content
Vectorlight.net

#c56ffd

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

HEX
#c56ffd
RGB
197, 111, 253
HSL
276.34°, 97.26%, 71.37%
OKLCH
0.7 0.21 309.97
Names
—
Lists

Codes

FormatValue
HEX#c56ffd
RGBrgb(197 111 253)
HSLhsl(276.34 97.26% 71.37%)
OKLCHoklch(0.7 0.21 309.97)
CMYKcmyk(22.13% 56.13% 0% 0.78%)
Android#ffc56ffd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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