Skip to content
Vectorlight.net

#ca27bc

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

HEX
#ca27bc
RGB
202, 39, 188
HSL
305.15°, 67.63%, 47.25%
OKLCH
0.59 0.24 332.22
Names
—
Lists

Codes

FormatValue
HEX#ca27bc
RGBrgb(202 39 188)
HSLhsl(305.15 67.63% 47.25%)
OKLCHoklch(0.59 0.24 332.22)
CMYKcmyk(0% 80.69% 6.93% 20.78%)
Android#ffca27bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.63:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.52:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#ca27bc"
Gradient stop
<stop stop-color="#ca27bc"/>
CSS variable + fill
:root { --c: #ca27bc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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