Skip to content
Vectorlight.net

#b97fcf

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

HEX
#b97fcf
RGB
185, 127, 207
HSL
283.5°, 45.45%, 65.49%
OKLCH
0.68 0.13 316.35
Names
—
Lists

Codes

FormatValue
HEX#b97fcf
RGBrgb(185 127 207)
HSLhsl(283.5 45.45% 65.49%)
OKLCHoklch(0.68 0.13 316.35)
CMYKcmyk(10.63% 38.65% 0% 18.82%)
Android#ffb97fcf

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="#b97fcf"
Gradient stop
<stop stop-color="#b97fcf"/>
CSS variable + fill
:root { --c: #b97fcf; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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