Skip to content
Vectorlight.net

#ca59dc

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

HEX
#ca59dc
RGB
202, 89, 220
HSL
291.76°, 65.17%, 60.59%
OKLCH
0.66 0.21 321.95
Names
—
Lists

Codes

FormatValue
HEX#ca59dc
RGBrgb(202 89 220)
HSLhsl(291.76 65.17% 60.59%)
OKLCHoklch(0.66 0.21 321.95)
CMYKcmyk(8.18% 59.55% 0% 13.73%)
Android#ffca59dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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