Skip to content
Vectorlight.net

#c271c4

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

HEX
#c271c4
RGB
194, 113, 196
HSL
298.55°, 41.29%, 60.59%
OKLCH
0.67 0.15 326.21
Names
—
Lists

Codes

FormatValue
HEX#c271c4
RGBrgb(194 113 196)
HSLhsl(298.55 41.29% 60.59%)
OKLCHoklch(0.67 0.15 326.21)
CMYKcmyk(1.02% 42.35% 0% 23.14%)
Android#ffc271c4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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