Skip to content
Vectorlight.net

#c56ffa

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

HEX
#c56ffa
RGB
197, 111, 250
HSL
277.12°, 93.29%, 70.78%
OKLCH
0.69 0.21 310.67
Names
—
Lists

Codes

FormatValue
HEX#c56ffa
RGBrgb(197 111 250)
HSLhsl(277.12 93.29% 70.78%)
OKLCHoklch(0.69 0.21 310.67)
CMYKcmyk(21.2% 55.6% 0% 1.96%)
Android#ffc56ffa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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