Skip to content
Vectorlight.net

#b368f6

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

HEX
#b368f6
RGB
179, 104, 246
HSL
271.69°, 88.75%, 68.63%
OKLCH
0.66 0.21 305.84
Names
—
Lists

Codes

FormatValue
HEX#b368f6
RGBrgb(179 104 246)
HSLhsl(271.69 88.75% 68.63%)
OKLCHoklch(0.66 0.21 305.84)
CMYKcmyk(27.24% 57.72% 0% 3.53%)
Android#ffb368f6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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