Skip to content
Vectorlight.net

#c17aed

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

HEX
#c17aed
RGB
193, 122, 237
HSL
277.04°, 76.16%, 70.39%
OKLCH
0.7 0.18 311.12
Names
—
Lists

Codes

FormatValue
HEX#c17aed
RGBrgb(193 122 237)
HSLhsl(277.04 76.16% 70.39%)
OKLCHoklch(0.7 0.18 311.12)
CMYKcmyk(18.57% 48.52% 0% 7.06%)
Android#ffc17aed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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