Skip to content
Vectorlight.net

#c780dd

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

HEX
#c780dd
RGB
199, 128, 221
HSL
285.81°, 57.76%, 68.43%
OKLCH
0.71 0.15 317.89
Names
—
Lists

Codes

FormatValue
HEX#c780dd
RGBrgb(199 128 221)
HSLhsl(285.81 57.76% 68.43%)
OKLCHoklch(0.71 0.15 317.89)
CMYKcmyk(9.95% 42.08% 0% 13.33%)
Android#ffc780dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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