Skip to content
Vectorlight.net

#ccb5ef

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

HEX
#ccb5ef
RGB
204, 181, 239
HSL
263.79°, 64.44%, 82.35%
OKLCH
0.81 0.08 302.7
Names
—
Lists

Codes

FormatValue
HEX#ccb5ef
RGBrgb(204 181 239)
HSLhsl(263.79 64.44% 82.35%)
OKLCHoklch(0.81 0.08 302.7)
CMYKcmyk(14.64% 24.27% 0% 6.27%)
Android#ffccb5ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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