Skip to content
Vectorlight.net

#cab7fd

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

HEX
#cab7fd
RGB
202, 183, 253
HSL
256.29°, 94.59%, 85.49%
OKLCH
0.82 0.1 296.62
Names
—
Lists

Codes

FormatValue
HEX#cab7fd
RGBrgb(202 183 253)
HSLhsl(256.29 94.59% 85.49%)
OKLCHoklch(0.82 0.1 296.62)
CMYKcmyk(20.16% 27.67% 0% 0.78%)
Android#ffcab7fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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