Skip to content
Vectorlight.net

#bd98eb

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

HEX
#bd98eb
RGB
189, 152, 235
HSL
266.75°, 67.48%, 75.88%
OKLCH
0.74 0.12 304.06
Names
—
Lists

Codes

FormatValue
HEX#bd98eb
RGBrgb(189 152 235)
HSLhsl(266.75 67.48% 75.88%)
OKLCHoklch(0.74 0.12 304.06)
CMYKcmyk(19.57% 35.32% 0% 7.84%)
Android#ffbd98eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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