Skip to content
Vectorlight.net

#ccb1fa

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

HEX
#ccb1fa
RGB
204, 177, 250
HSL
262.19°, 87.95%, 83.73%
OKLCH
0.81 0.1 301.06
Names
—
Lists

Codes

FormatValue
HEX#ccb1fa
RGBrgb(204 177 250)
HSLhsl(262.19 87.95% 83.73%)
OKLCHoklch(0.81 0.1 301.06)
CMYKcmyk(18.4% 29.2% 0% 1.96%)
Android#ffccb1fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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