Skip to content
Vectorlight.net

#ccb4fa

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

HEX
#ccb4fa
RGB
204, 180, 250
HSL
260.57°, 87.5%, 84.31%
OKLCH
0.81 0.1 299.92
Names
—
Lists

Codes

FormatValue
HEX#ccb4fa
RGBrgb(204 180 250)
HSLhsl(260.57 87.5% 84.31%)
OKLCHoklch(0.81 0.1 299.92)
CMYKcmyk(18.4% 28% 0% 1.96%)
Android#ffccb4fa

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

Recolor an SVG with this color

CSS

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