Skip to content
Vectorlight.net

#b26dec

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

HEX
#b26dec
RGB
178, 109, 236
HSL
272.6°, 76.97%, 67.65%
OKLCH
0.66 0.19 307.06
Names
—
Lists

Codes

FormatValue
HEX#b26dec
RGBrgb(178 109 236)
HSLhsl(272.6 76.97% 67.65%)
OKLCHoklch(0.66 0.19 307.06)
CMYKcmyk(24.58% 53.81% 0% 7.45%)
Android#ffb26dec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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