Skip to content
Vectorlight.net

#c797ce

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

HEX
#c797ce
RGB
199, 151, 206
HSL
292.36°, 35.95%, 70%
OKLCH
0.74 0.09 322.14
Names
—
Lists

Codes

FormatValue
HEX#c797ce
RGBrgb(199 151 206)
HSLhsl(292.36 35.95% 70%)
OKLCHoklch(0.74 0.09 322.14)
CMYKcmyk(3.4% 26.7% 0% 19.22%)
Android#ffc797ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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