Skip to content
Vectorlight.net

#cab1fd

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

HEX
#cab1fd
RGB
202, 177, 253
HSL
259.74°, 95%, 84.31%
OKLCH
0.81 0.11 299.07
Names
—
Lists

Codes

FormatValue
HEX#cab1fd
RGBrgb(202 177 253)
HSLhsl(259.74 95% 84.31%)
OKLCHoklch(0.81 0.11 299.07)
CMYKcmyk(20.16% 30.04% 0% 0.78%)
Android#ffcab1fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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