Skip to content
Vectorlight.net

#ba83fe

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

HEX
#ba83fe
RGB
186, 131, 254
HSL
266.83°, 98.4%, 75.49%
OKLCH
0.72 0.18 302.78
Names
—
Lists

Codes

FormatValue
HEX#ba83fe
RGBrgb(186 131 254)
HSLhsl(266.83 98.4% 75.49%)
OKLCHoklch(0.72 0.18 302.78)
CMYKcmyk(26.77% 48.43% 0% 0.39%)
Android#ffba83fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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