Skip to content
Vectorlight.net

#c757ea

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

HEX
#c757ea
RGB
199, 87, 234
HSL
285.71°, 77.78%, 62.94%
OKLCH
0.66 0.23 317.25
Names
—
Lists

Codes

FormatValue
HEX#c757ea
RGBrgb(199 87 234)
HSLhsl(285.71 77.78% 62.94%)
OKLCHoklch(0.66 0.23 317.25)
CMYKcmyk(14.96% 62.82% 0% 8.24%)
Android#ffc757ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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