Skip to content
Vectorlight.net

#b138ca

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

HEX
#b138ca
RGB
177, 56, 202
HSL
289.73°, 57.94%, 50.59%
OKLCH
0.58 0.23 320.16
Names
—
Lists

Codes

FormatValue
HEX#b138ca
RGBrgb(177 56 202)
HSLhsl(289.73 57.94% 50.59%)
OKLCHoklch(0.58 0.23 320.16)
CMYKcmyk(12.38% 72.28% 0% 20.78%)
Android#ffb138ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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