Skip to content
Vectorlight.net

#b985dc

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

HEX
#b985dc
RGB
185, 133, 220
HSL
275.86°, 55.41%, 69.22%
OKLCH
0.7 0.13 310.76
Names
—
Lists

Codes

FormatValue
HEX#b985dc
RGBrgb(185 133 220)
HSLhsl(275.86 55.41% 69.22%)
OKLCHoklch(0.7 0.13 310.76)
CMYKcmyk(15.91% 39.55% 0% 13.73%)
Android#ffb985dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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