Skip to content
Vectorlight.net

#b387cc

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

HEX
#b387cc
RGB
179, 135, 204
HSL
278.26°, 40.35%, 66.47%
OKLCH
0.69 0.11 312.79
Names
—
Lists

Codes

FormatValue
HEX#b387cc
RGBrgb(179 135 204)
HSLhsl(278.26 40.35% 66.47%)
OKLCHoklch(0.69 0.11 312.79)
CMYKcmyk(12.25% 33.82% 0% 20%)
Android#ffb387cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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