Skip to content
Vectorlight.net

#b970ef

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

HEX
#b970ef
RGB
185, 112, 239
HSL
274.49°, 79.87%, 68.82%
OKLCH
0.68 0.19 308.71
Names
—
Lists

Codes

FormatValue
HEX#b970ef
RGBrgb(185 112 239)
HSLhsl(274.49 79.87% 68.82%)
OKLCHoklch(0.68 0.19 308.71)
CMYKcmyk(22.59% 53.14% 0% 6.27%)
Android#ffb970ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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