Skip to content
Vectorlight.net

#c842ed

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

HEX
#c842ed
RGB
200, 66, 237
HSL
287.02°, 82.61%, 59.41%
OKLCH
0.64 0.26 317.88
Names
—
Lists

Codes

FormatValue
HEX#c842ed
RGBrgb(200 66 237)
HSLhsl(287.02 82.61% 59.41%)
OKLCHoklch(0.64 0.26 317.88)
CMYKcmyk(15.61% 72.15% 0% 7.06%)
Android#ffc842ed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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