Skip to content
Vectorlight.net

#b840cb

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

HEX
#b840cb
RGB
184, 64, 203
HSL
291.8°, 57.2%, 52.35%
OKLCH
0.6 0.22 321.9
Names
—
Lists

Codes

FormatValue
HEX#b840cb
RGBrgb(184 64 203)
HSLhsl(291.8 57.2% 52.35%)
OKLCHoklch(0.6 0.22 321.9)
CMYKcmyk(9.36% 68.47% 0% 20.39%)
Android#ffb840cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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