Skip to content
Vectorlight.net

#b642d8

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

HEX
#b642d8
RGB
182, 66, 216
HSL
286.4°, 65.79%, 55.29%
OKLCH
0.6 0.23 317.52
Names
—
Lists

Codes

FormatValue
HEX#b642d8
RGBrgb(182 66 216)
HSLhsl(286.4 65.79% 55.29%)
OKLCHoklch(0.6 0.23 317.52)
CMYKcmyk(15.74% 69.44% 0% 15.29%)
Android#ffb642d8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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