Skip to content
Vectorlight.net

#b970fd

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

HEX
#b970fd
RGB
185, 112, 253
HSL
271.06°, 97.24%, 71.57%
OKLCH
0.68 0.21 305.52
Names
—
Lists

Codes

FormatValue
HEX#b970fd
RGBrgb(185 112 253)
HSLhsl(271.06 97.24% 71.57%)
OKLCHoklch(0.68 0.21 305.52)
CMYKcmyk(26.88% 55.73% 0% 0.78%)
Android#ffb970fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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