Skip to content
Vectorlight.net

#ba90fb

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

HEX
#ba90fb
RGB
186, 144, 251
HSL
263.55°, 93.04%, 77.45%
OKLCH
0.74 0.16 300.75
Names
—
Lists

Codes

FormatValue
HEX#ba90fb
RGBrgb(186 144 251)
HSLhsl(263.55 93.04% 77.45%)
OKLCHoklch(0.74 0.16 300.75)
CMYKcmyk(25.9% 42.63% 0% 1.57%)
Android#ffba90fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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