Skip to content
Vectorlight.net

#ccb7ef

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

HEX
#ccb7ef
RGB
204, 183, 239
HSL
262.5°, 63.64%, 82.75%
OKLCH
0.82 0.08 301.79
Names
—
Lists

Codes

FormatValue
HEX#ccb7ef
RGBrgb(204 183 239)
HSLhsl(262.5 63.64% 82.75%)
OKLCHoklch(0.82 0.08 301.79)
CMYKcmyk(14.64% 23.43% 0% 6.27%)
Android#ffccb7ef

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

Recolor an SVG with this color

CSS

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