Skip to content
Vectorlight.net

#ccb6fe

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

HEX
#ccb6fe
RGB
204, 182, 254
HSL
258.33°, 97.3%, 85.49%
OKLCH
0.82 0.1 298.14
Names
—
Lists

Codes

FormatValue
HEX#ccb6fe
RGBrgb(204 182 254)
HSLhsl(258.33 97.3% 85.49%)
OKLCHoklch(0.82 0.1 298.14)
CMYKcmyk(19.69% 28.35% 0% 0.39%)
Android#ffccb6fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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