Skip to content
Vectorlight.net

#c978eb

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

HEX
#c978eb
RGB
201, 120, 235
HSL
282.26°, 74.19%, 69.61%
OKLCH
0.7 0.18 315.13
Names
—
Lists

Codes

FormatValue
HEX#c978eb
RGBrgb(201 120 235)
HSLhsl(282.26 74.19% 69.61%)
OKLCHoklch(0.7 0.18 315.13)
CMYKcmyk(14.47% 48.94% 0% 7.84%)
Android#ffc978eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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