Skip to content
Vectorlight.net

#ccb5dd

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

HEX
#ccb5dd
RGB
204, 181, 221
HSL
274.5°, 37.04%, 78.82%
OKLCH
0.81 0.06 310.78
Names
—
Lists

Codes

FormatValue
HEX#ccb5dd
RGBrgb(204 181 221)
HSLhsl(274.5 37.04% 78.82%)
OKLCHoklch(0.81 0.06 310.78)
CMYKcmyk(7.69% 18.1% 0% 13.33%)
Android#ffccb5dd

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

Recolor an SVG with this color

CSS

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