Skip to content
Vectorlight.net

#c17fdc

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

HEX
#c17fdc
RGB
193, 127, 220
HSL
282.58°, 57.06%, 68.04%
OKLCH
0.7 0.15 315.6
Names
—
Lists

Codes

FormatValue
HEX#c17fdc
RGBrgb(193 127 220)
HSLhsl(282.58 57.06% 68.04%)
OKLCHoklch(0.7 0.15 315.6)
CMYKcmyk(12.27% 42.27% 0% 13.73%)
Android#ffc17fdc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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