Skip to content
Vectorlight.net

#ccb4fb

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

HEX
#ccb4fb
RGB
204, 180, 251
HSL
260.28°, 89.87%, 84.51%
OKLCH
0.82 0.1 299.67
Names
—
Lists

Codes

FormatValue
HEX#ccb4fb
RGBrgb(204 180 251)
HSLhsl(260.28 89.87% 84.51%)
OKLCHoklch(0.82 0.1 299.67)
CMYKcmyk(18.73% 28.29% 0% 1.57%)
Android#ffccb4fb

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

Recolor an SVG with this color

CSS

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