Skip to content
Vectorlight.net

#cb97ef

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

HEX
#cb97ef
RGB
203, 151, 239
HSL
275.45°, 73.33%, 76.47%
OKLCH
0.76 0.13 310.59
Names
—
Lists

Codes

FormatValue
HEX#cb97ef
RGBrgb(203 151 239)
HSLhsl(275.45 73.33% 76.47%)
OKLCHoklch(0.76 0.13 310.59)
CMYKcmyk(15.06% 36.82% 0% 6.27%)
Android#ffcb97ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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