Skip to content
Vectorlight.net

#b840cf

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

HEX
#b840cf
RGB
184, 64, 207
HSL
290.35°, 59.83%, 53.14%
OKLCH
0.6 0.23 320.75
Names
—
Lists

Codes

FormatValue
HEX#b840cf
RGBrgb(184 64 207)
HSLhsl(290.35 59.83% 53.14%)
OKLCHoklch(0.6 0.23 320.75)
CMYKcmyk(11.11% 69.08% 0% 18.82%)
Android#ffb840cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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