Skip to content
Vectorlight.net

#ba90fe

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

HEX
#ba90fe
RGB
186, 144, 254
HSL
262.91°, 98.21%, 78.04%
OKLCH
0.74 0.16 300.14
Names
—
Lists

Codes

FormatValue
HEX#ba90fe
RGBrgb(186 144 254)
HSLhsl(262.91 98.21% 78.04%)
OKLCHoklch(0.74 0.16 300.14)
CMYKcmyk(26.77% 43.31% 0% 0.39%)
Android#ffba90fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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