Skip to content
Vectorlight.net

#cb9bfa

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

HEX
#cb9bfa
RGB
203, 155, 250
HSL
270.32°, 90.48%, 79.41%
OKLCH
0.77 0.14 306.6
Names
—
Lists

Codes

FormatValue
HEX#cb9bfa
RGBrgb(203 155 250)
HSLhsl(270.32 90.48% 79.41%)
OKLCHoklch(0.77 0.14 306.6)
CMYKcmyk(18.8% 38% 0% 1.96%)
Android#ffcb9bfa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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