Skip to content
Vectorlight.net

#b25bfb

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

HEX
#b25bfb
RGB
178, 91, 251
HSL
272.63°, 95.24%, 67.06%
OKLCH
0.65 0.23 305.91
Names
—
Lists

Codes

FormatValue
HEX#b25bfb
RGBrgb(178 91 251)
HSLhsl(272.63 95.24% 67.06%)
OKLCHoklch(0.65 0.23 305.91)
CMYKcmyk(29.08% 63.75% 0% 1.57%)
Android#ffb25bfb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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