Skip to content
Vectorlight.net

#b979eb

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

HEX
#b979eb
RGB
185, 121, 235
HSL
273.68°, 74.03%, 69.8%
OKLCH
0.69 0.17 308.44
Names
—
Lists

Codes

FormatValue
HEX#b979eb
RGBrgb(185 121 235)
HSLhsl(273.68 74.03% 69.8%)
OKLCHoklch(0.69 0.17 308.44)
CMYKcmyk(21.28% 48.51% 0% 7.84%)
Android#ffb979eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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