Skip to content
Vectorlight.net

#b258cf

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

HEX
#b258cf
RGB
178, 88, 207
HSL
285.38°, 55.35%, 57.84%
OKLCH
0.62 0.19 317.21
Names
—
Lists

Codes

FormatValue
HEX#b258cf
RGBrgb(178 88 207)
HSLhsl(285.38 55.35% 57.84%)
OKLCHoklch(0.62 0.19 317.21)
CMYKcmyk(14.01% 57.49% 0% 18.82%)
Android#ffb258cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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