Skip to content
Vectorlight.net

#ca31c8

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

HEX
#ca31c8
RGB
202, 49, 200
HSL
300.78°, 60.96%, 49.22%
OKLCH
0.61 0.24 328.66
Names
—
Lists

Codes

FormatValue
HEX#ca31c8
RGBrgb(202 49 200)
HSLhsl(300.78 60.96% 49.22%)
OKLCHoklch(0.61 0.24 328.66)
CMYKcmyk(0% 75.74% 0.99% 20.78%)
Android#ffca31c8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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