Skip to content
Vectorlight.net

#c660fd

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

HEX
#c660fd
RGB
198, 96, 253
HSL
278.98°, 97.52%, 68.43%
OKLCH
0.68 0.23 311.71
Names
—
Lists

Codes

FormatValue
HEX#c660fd
RGBrgb(198 96 253)
HSLhsl(278.98 97.52% 68.43%)
OKLCHoklch(0.68 0.23 311.71)
CMYKcmyk(21.74% 62.06% 0% 0.78%)
Android#ffc660fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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