Skip to content
Vectorlight.net

#c159fd

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

HEX
#c159fd
RGB
193, 89, 253
HSL
278.05°, 97.62%, 67.06%
OKLCH
0.66 0.24 310.65
Names
—
Lists

Codes

FormatValue
HEX#c159fd
RGBrgb(193 89 253)
HSLhsl(278.05 97.62% 67.06%)
OKLCHoklch(0.66 0.24 310.65)
CMYKcmyk(23.72% 64.82% 0% 0.78%)
Android#ffc159fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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