Skip to content
Vectorlight.net

#ba92c8

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

HEX
#ba92c8
RGB
186, 146, 200
HSL
284.44°, 32.93%, 67.84%
OKLCH
0.72 0.09 317.19
Names
—
Lists

Codes

FormatValue
HEX#ba92c8
RGBrgb(186 146 200)
HSLhsl(284.44 32.93% 67.84%)
OKLCHoklch(0.72 0.09 317.19)
CMYKcmyk(7% 27% 0% 21.57%)
Android#ffba92c8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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