Skip to content
Vectorlight.net

#cb9ecb

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

HEX
#cb9ecb
RGB
203, 158, 203
HSL
300°, 30.2%, 70.78%
OKLCH
0.76 0.08 326.34
Names
—
Lists

Codes

FormatValue
HEX#cb9ecb
RGBrgb(203 158 203)
HSLhsl(300 30.2% 70.78%)
OKLCHoklch(0.76 0.08 326.34)
CMYKcmyk(0% 22.17% 0% 20.39%)
Android#ffcb9ecb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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