Skip to content
Vectorlight.net

#c786cd

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

HEX
#c786cd
RGB
199, 134, 205
HSL
294.93°, 41.52%, 66.47%
OKLCH
0.71 0.12 323.82
Names
—
Lists

Codes

FormatValue
HEX#c786cd
RGBrgb(199 134 205)
HSLhsl(294.93 41.52% 66.47%)
OKLCHoklch(0.71 0.12 323.82)
CMYKcmyk(2.93% 34.63% 0% 19.61%)
Android#ffc786cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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