Skip to content
Vectorlight.net

#ccb4e6

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

HEX
#ccb4e6
RGB
204, 180, 230
HSL
268.8°, 50%, 80.39%
OKLCH
0.81 0.07 306.57
Names
—
Lists

Codes

FormatValue
HEX#ccb4e6
RGBrgb(204 180 230)
HSLhsl(268.8 50% 80.39%)
OKLCHoklch(0.81 0.07 306.57)
CMYKcmyk(11.3% 21.74% 0% 9.8%)
Android#ffccb4e6

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

Recolor an SVG with this color

CSS

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