Skip to content
Vectorlight.net

#c758ec

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

HEX
#c758ec
RGB
199, 88, 236
HSL
285°, 79.57%, 63.53%
OKLCH
0.66 0.23 316.68
Names
—
Lists

Codes

FormatValue
HEX#c758ec
RGBrgb(199 88 236)
HSLhsl(285 79.57% 63.53%)
OKLCHoklch(0.66 0.23 316.68)
CMYKcmyk(15.68% 62.71% 0% 7.45%)
Android#ffc758ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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