Skip to content
Vectorlight.net

#b23dfb

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

HEX
#b23dfb
RGB
178, 61, 251
HSL
276.95°, 95.96%, 61.18%
OKLCH
0.62 0.27 308.31
Names
—
Lists

Codes

FormatValue
HEX#b23dfb
RGBrgb(178 61 251)
HSLhsl(276.95 95.96% 61.18%)
OKLCHoklch(0.62 0.27 308.31)
CMYKcmyk(29.08% 75.7% 0% 1.57%)
Android#ffb23dfb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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