Skip to content
Vectorlight.net

#ca51ee

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

HEX
#ca51ee
RGB
202, 81, 238
HSL
286.24°, 82.2%, 62.55%
OKLCH
0.66 0.24 317.54
Names
—
Lists

Codes

FormatValue
HEX#ca51ee
RGBrgb(202 81 238)
HSLhsl(286.24 82.2% 62.55%)
OKLCHoklch(0.66 0.24 317.54)
CMYKcmyk(15.13% 65.97% 0% 6.67%)
Android#ffca51ee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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