Skip to content
Vectorlight.net

#ba92ec

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

HEX
#ba92ec
RGB
186, 146, 236
HSL
266.67°, 70.31%, 74.9%
OKLCH
0.73 0.13 303.74
Names
—
Lists

Codes

FormatValue
HEX#ba92ec
RGBrgb(186 146 236)
HSLhsl(266.67 70.31% 74.9%)
OKLCHoklch(0.73 0.13 303.74)
CMYKcmyk(21.19% 38.14% 0% 7.45%)
Android#ffba92ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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