Skip to content
Vectorlight.net

#ccb9df

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

HEX
#ccb9df
RGB
204, 185, 223
HSL
270°, 37.25%, 80%
OKLCH
0.81 0.06 307.69
Names
—
Lists

Codes

FormatValue
HEX#ccb9df
RGBrgb(204 185 223)
HSLhsl(270 37.25% 80%)
OKLCHoklch(0.81 0.06 307.69)
CMYKcmyk(8.52% 17.04% 0% 12.55%)
Android#ffccb9df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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