Skip to content
Vectorlight.net

#ccb4fe

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

HEX
#ccb4fe
RGB
204, 180, 254
HSL
259.46°, 97.37%, 85.1%
OKLCH
0.82 0.11 298.94
Names
—
Lists

Codes

FormatValue
HEX#ccb4fe
RGBrgb(204 180 254)
HSLhsl(259.46 97.37% 85.1%)
OKLCHoklch(0.82 0.11 298.94)
CMYKcmyk(19.69% 29.13% 0% 0.39%)
Android#ffccb4fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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