Skip to content
Vectorlight.net

#c504bc

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

HEX
#c504bc
RGB
197, 4, 188
HSL
302.8°, 96.02%, 39.41%
OKLCH
0.57 0.26 330.86
Names
—
Lists

Codes

FormatValue
HEX#c504bc
RGBrgb(197 4 188)
HSLhsl(302.8 96.02% 39.41%)
OKLCHoklch(0.57 0.26 330.86)
CMYKcmyk(0% 97.97% 4.57% 22.75%)
Android#ffc504bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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