Skip to content
Vectorlight.net

#ca7cfd

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

HEX
#ca7cfd
RGB
202, 124, 253
HSL
276.28°, 96.99%, 73.92%
OKLCH
0.72 0.19 310.33
Names
—
Lists

Codes

FormatValue
HEX#ca7cfd
RGBrgb(202 124 253)
HSLhsl(276.28 96.99% 73.92%)
OKLCHoklch(0.72 0.19 310.33)
CMYKcmyk(20.16% 50.99% 0% 0.78%)
Android#ffca7cfd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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