Skip to content
Vectorlight.net

#ba99ee

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

HEX
#ba99ee
RGB
186, 153, 238
HSL
263.29°, 71.43%, 76.67%
OKLCH
0.74 0.12 301.31
Names
—
Lists

Codes

FormatValue
HEX#ba99ee
RGBrgb(186 153 238)
HSLhsl(263.29 71.43% 76.67%)
OKLCHoklch(0.74 0.12 301.31)
CMYKcmyk(21.85% 35.71% 0% 6.67%)
Android#ffba99ee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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