Skip to content
Vectorlight.net

#ccb5fa

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

HEX
#ccb5fa
RGB
204, 181, 250
HSL
260°, 87.34%, 84.51%
OKLCH
0.82 0.1 299.51
Names
—
Lists

Codes

FormatValue
HEX#ccb5fa
RGBrgb(204 181 250)
HSLhsl(260 87.34% 84.51%)
OKLCHoklch(0.82 0.1 299.51)
CMYKcmyk(18.4% 27.6% 0% 1.96%)
Android#ffccb5fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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