Skip to content
Vectorlight.net

#b388fb

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

HEX
#b388fb
RGB
179, 136, 251
HSL
262.43°, 93.5%, 75.88%
OKLCH
0.72 0.17 299.43
Names
—
Lists

Codes

FormatValue
HEX#b388fb
RGBrgb(179 136 251)
HSLhsl(262.43 93.5% 75.88%)
OKLCHoklch(0.72 0.17 299.43)
CMYKcmyk(28.69% 45.82% 0% 1.57%)
Android#ffb388fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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