Skip to content
Vectorlight.net

#ccb5de

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

HEX
#ccb5de
RGB
204, 181, 222
HSL
273.66°, 38.32%, 79.02%
OKLCH
0.81 0.06 310.18
Names
—
Lists

Codes

FormatValue
HEX#ccb5de
RGBrgb(204 181 222)
HSLhsl(273.66 38.32% 79.02%)
OKLCHoklch(0.81 0.06 310.18)
CMYKcmyk(8.11% 18.47% 0% 12.94%)
Android#ffccb5de

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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