Skip to content
Vectorlight.net

#b970cf

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

HEX
#b970cf
RGB
185, 112, 207
HSL
286.11°, 49.74%, 62.55%
OKLCH
0.66 0.16 318.04
Names
—
Lists

Codes

FormatValue
HEX#b970cf
RGBrgb(185 112 207)
HSLhsl(286.11 49.74% 62.55%)
OKLCHoklch(0.66 0.16 318.04)
CMYKcmyk(10.63% 45.89% 0% 18.82%)
Android#ffb970cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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