Skip to content
Vectorlight.net

#c78dec

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

HEX
#c78dec
RGB
199, 141, 236
HSL
276.63°, 71.43%, 73.92%
OKLCH
0.74 0.15 311.29
Names
—
Lists

Codes

FormatValue
HEX#c78dec
RGBrgb(199 141 236)
HSLhsl(276.63 71.43% 73.92%)
OKLCHoklch(0.74 0.15 311.29)
CMYKcmyk(15.68% 40.25% 0% 7.45%)
Android#ffc78dec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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