Skip to content
Vectorlight.net

#b66aea

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

HEX
#b66aea
RGB
182, 106, 234
HSL
275.63°, 75.29%, 66.67%
OKLCH
0.66 0.19 309.52
Names
—
Lists

Codes

FormatValue
HEX#b66aea
RGBrgb(182 106 234)
HSLhsl(275.63 75.29% 66.67%)
OKLCHoklch(0.66 0.19 309.52)
CMYKcmyk(22.22% 54.7% 0% 8.24%)
Android#ffb66aea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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