Skip to content
Vectorlight.net

#b984ee

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

HEX
#b984ee
RGB
185, 132, 238
HSL
270°, 75.71%, 72.55%
OKLCH
0.71 0.16 305.81
Names
—
Lists

Codes

FormatValue
HEX#b984ee
RGBrgb(185 132 238)
HSLhsl(270 75.71% 72.55%)
OKLCHoklch(0.71 0.16 305.81)
CMYKcmyk(22.27% 44.54% 0% 6.67%)
Android#ffb984ee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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