Skip to content
Vectorlight.net

#b840af

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

HEX
#b840af
RGB
184, 64, 175
HSL
304.5°, 48.39%, 48.63%
OKLCH
0.58 0.2 330.93
Names
—
Lists

Codes

FormatValue
HEX#b840af
RGBrgb(184 64 175)
HSLhsl(304.5 48.39% 48.63%)
OKLCHoklch(0.58 0.2 330.93)
CMYKcmyk(0% 65.22% 4.89% 27.84%)
Android#ffb840af

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.78:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.39:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#b840af"
Gradient stop
<stop stop-color="#b840af"/>
CSS variable + fill
:root { --c: #b840af; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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