Skip to content
Vectorlight.net

#ccb7ea

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

HEX
#ccb7ea
RGB
204, 183, 234
HSL
264.71°, 54.84%, 81.76%
OKLCH
0.81 0.07 303.56
Names
—
Lists

Codes

FormatValue
HEX#ccb7ea
RGBrgb(204 183 234)
HSLhsl(264.71 54.84% 81.76%)
OKLCHoklch(0.81 0.07 303.56)
CMYKcmyk(12.82% 21.79% 0% 8.24%)
Android#ffccb7ea

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

Recolor an SVG with this color

CSS

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