Skip to content
Vectorlight.net

#ccb3fe

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

HEX
#ccb3fe
RGB
204, 179, 254
HSL
260°, 97.4%, 84.9%
OKLCH
0.81 0.11 299.33
Names
—
Lists

Codes

FormatValue
HEX#ccb3fe
RGBrgb(204 179 254)
HSLhsl(260 97.4% 84.9%)
OKLCHoklch(0.81 0.11 299.33)
CMYKcmyk(19.69% 29.53% 0% 0.39%)
Android#ffccb3fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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