Skip to content
Vectorlight.net

#cab6dc

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

HEX
#cab6dc
RGB
202, 182, 220
HSL
271.58°, 35.19%, 78.82%
OKLCH
0.81 0.06 308.79
Names
—
Lists

Codes

FormatValue
HEX#cab6dc
RGBrgb(202 182 220)
HSLhsl(271.58 35.19% 78.82%)
OKLCHoklch(0.81 0.06 308.79)
CMYKcmyk(8.18% 17.27% 0% 13.73%)
Android#ffcab6dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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