Skip to content
Vectorlight.net

#b39afa

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

HEX
#b39afa
RGB
179, 154, 250
HSL
255.63°, 90.57%, 79.22%
OKLCH
0.75 0.14 294.83
Names
—
Lists

Codes

FormatValue
HEX#b39afa
RGBrgb(179 154 250)
HSLhsl(255.63 90.57% 79.22%)
OKLCHoklch(0.75 0.14 294.83)
CMYKcmyk(28.4% 38.4% 0% 1.96%)
Android#ffb39afa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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