Skip to content
Vectorlight.net

#ccb5dc

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

HEX
#ccb5dc
RGB
204, 181, 220
HSL
275.38°, 35.78%, 78.63%
OKLCH
0.81 0.06 311.39
Names
—
Lists

Codes

FormatValue
HEX#ccb5dc
RGBrgb(204 181 220)
HSLhsl(275.38 35.78% 78.63%)
OKLCHoklch(0.81 0.06 311.39)
CMYKcmyk(7.27% 17.73% 0% 13.73%)
Android#ffccb5dc

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="#ccb5dc"
Gradient stop
<stop stop-color="#ccb5dc"/>
CSS variable + fill
:root { --c: #ccb5dc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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