Skip to content
Vectorlight.net

#cb7bfe

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

HEX
#cb7bfe
RGB
203, 123, 254
HSL
276.64°, 98.5%, 73.92%
OKLCH
0.72 0.2 310.58
Names
—
Lists

Codes

FormatValue
HEX#cb7bfe
RGBrgb(203 123 254)
HSLhsl(276.64 98.5% 73.92%)
OKLCHoklch(0.72 0.2 310.58)
CMYKcmyk(20.08% 51.57% 0% 0.39%)
Android#ffcb7bfe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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