Skip to content
Vectorlight.net

#b98dfe

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

HEX
#b98dfe
RGB
185, 141, 254
HSL
263.36°, 98.26%, 77.45%
OKLCH
0.73 0.16 300.37
Names
—
Lists

Codes

FormatValue
HEX#b98dfe
RGBrgb(185 141 254)
HSLhsl(263.36 98.26% 77.45%)
OKLCHoklch(0.73 0.16 300.37)
CMYKcmyk(27.17% 44.49% 0% 0.39%)
Android#ffb98dfe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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