Skip to content
Vectorlight.net

#c752dc

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

HEX
#c752dc
RGB
199, 82, 220
HSL
290.87°, 66.35%, 59.22%
OKLCH
0.64 0.22 321.27
Names
—
Lists

Codes

FormatValue
HEX#c752dc
RGBrgb(199 82 220)
HSLhsl(290.87 66.35% 59.22%)
OKLCHoklch(0.64 0.22 321.27)
CMYKcmyk(9.55% 62.73% 0% 13.73%)
Android#ffc752dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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