Skip to content
Vectorlight.net

#c178eb

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

HEX
#c178eb
RGB
193, 120, 235
HSL
278.09°, 74.19%, 69.61%
OKLCH
0.7 0.18 311.92
Names
—
Lists

Codes

FormatValue
HEX#c178eb
RGBrgb(193 120 235)
HSLhsl(278.09 74.19% 69.61%)
OKLCHoklch(0.7 0.18 311.92)
CMYKcmyk(17.87% 48.94% 0% 7.84%)
Android#ffc178eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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