Skip to content
Vectorlight.net

#cc9bfe

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

HEX
#cc9bfe
RGB
204, 155, 254
HSL
269.7°, 98.02%, 80.2%
OKLCH
0.77 0.15 306.04
Names
—
Lists

Codes

FormatValue
HEX#cc9bfe
RGBrgb(204 155 254)
HSLhsl(269.7 98.02% 80.2%)
OKLCHoklch(0.77 0.15 306.04)
CMYKcmyk(19.69% 38.98% 0% 0.39%)
Android#ffcc9bfe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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