Skip to content
Vectorlight.net

#b98ce6

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

HEX
#b98ce6
RGB
185, 140, 230
HSL
270°, 64.29%, 72.55%
OKLCH
0.72 0.14 306.28
Names
—
Lists

Codes

FormatValue
HEX#b98ce6
RGBrgb(185 140 230)
HSLhsl(270 64.29% 72.55%)
OKLCHoklch(0.72 0.14 306.28)
CMYKcmyk(19.57% 39.13% 0% 9.8%)
Android#ffb98ce6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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