Skip to content
Vectorlight.net

#ccabcc

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

HEX
#ccabcc
RGB
204, 171, 204
HSL
300°, 24.44%, 73.53%
OKLCH
0.78 0.06 326.12
Names
—
Lists

Codes

FormatValue
HEX#ccabcc
RGBrgb(204 171 204)
HSLhsl(300 24.44% 73.53%)
OKLCHoklch(0.78 0.06 326.12)
CMYKcmyk(0% 16.18% 0% 20%)
Android#ffccabcc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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