Skip to content
Vectorlight.net

#ccb3ec

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

HEX
#ccb3ec
RGB
204, 179, 236
HSL
266.32°, 60%, 81.37%
OKLCH
0.81 0.08 304.59
Names
—
Lists

Codes

FormatValue
HEX#ccb3ec
RGBrgb(204 179 236)
HSLhsl(266.32 60% 81.37%)
OKLCHoklch(0.81 0.08 304.59)
CMYKcmyk(13.56% 24.15% 0% 7.45%)
Android#ffccb3ec

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

Recolor an SVG with this color

CSS

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