Skip to content
Vectorlight.net

#c642db

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

HEX
#c642db
RGB
198, 66, 219
HSL
291.76°, 68%, 55.88%
OKLCH
0.63 0.24 321.84
Names
—
Lists

Codes

FormatValue
HEX#c642db
RGBrgb(198 66 219)
HSLhsl(291.76 68% 55.88%)
OKLCHoklch(0.63 0.24 321.84)
CMYKcmyk(9.59% 69.86% 0% 14.12%)
Android#ffc642db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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