Skip to content
Vectorlight.net

#ccb8ea

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

HEX
#ccb8ea
RGB
204, 184, 234
HSL
264°, 54.35%, 81.96%
OKLCH
0.82 0.07 303.07
Names
—
Lists

Codes

FormatValue
HEX#ccb8ea
RGBrgb(204 184 234)
HSLhsl(264 54.35% 81.96%)
OKLCHoklch(0.82 0.07 303.07)
CMYKcmyk(12.82% 21.37% 0% 8.24%)
Android#ffccb8ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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