Skip to content
Vectorlight.net

#b27bfe

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

HEX
#b27bfe
RGB
178, 123, 254
HSL
265.19°, 98.5%, 73.92%
OKLCH
0.69 0.19 300.98
Names
—
Lists

Codes

FormatValue
HEX#b27bfe
RGBrgb(178 123 254)
HSLhsl(265.19 98.5% 73.92%)
OKLCHoklch(0.69 0.19 300.98)
CMYKcmyk(29.92% 51.57% 0% 0.39%)
Android#ffb27bfe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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