Skip to content
Vectorlight.net

#ca38aa

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

HEX
#ca38aa
RGB
202, 56, 170
HSL
313.15°, 57.94%, 50.59%
OKLCH
0.6 0.22 338.25
Names
—
Lists

Codes

FormatValue
HEX#ca38aa
RGBrgb(202 56 170)
HSLhsl(313.15 57.94% 50.59%)
OKLCHoklch(0.6 0.22 338.25)
CMYKcmyk(0% 72.28% 15.84% 20.78%)
Android#ffca38aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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