Skip to content
Vectorlight.net

#b23ea6

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

HEX
#b23ea6
RGB
178, 62, 166
HSL
306.21°, 48.33%, 47.06%
OKLCH
0.56 0.19 332.16
Names
—
Lists

Codes

FormatValue
HEX#b23ea6
RGBrgb(178 62 166)
HSLhsl(306.21 48.33% 47.06%)
OKLCHoklch(0.56 0.19 332.16)
CMYKcmyk(0% 65.17% 6.74% 30.2%)
Android#ffb23ea6

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.08:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.13:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#b23ea6"
Gradient stop
<stop stop-color="#b23ea6"/>
CSS variable + fill
:root { --c: #b23ea6; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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