Skip to content
Vectorlight.net

#ca86fe

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

HEX
#ca86fe
RGB
202, 134, 254
HSL
274°, 98.36%, 76.08%
OKLCH
0.74 0.18 308.78
Names
—
Lists

Codes

FormatValue
HEX#ca86fe
RGBrgb(202 134 254)
HSLhsl(274 98.36% 76.08%)
OKLCHoklch(0.74 0.18 308.78)
CMYKcmyk(20.47% 47.24% 0% 0.39%)
Android#ffca86fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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