Skip to content
Vectorlight.net

#cab4fa

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

HEX
#cab4fa
RGB
202, 180, 250
HSL
258.86°, 87.5%, 84.31%
OKLCH
0.81 0.1 298.59
Names
—
Lists

Codes

FormatValue
HEX#cab4fa
RGBrgb(202 180 250)
HSLhsl(258.86 87.5% 84.31%)
OKLCHoklch(0.81 0.1 298.59)
CMYKcmyk(19.2% 28% 0% 1.96%)
Android#ffcab4fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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