Skip to content
Vectorlight.net

#ba65cc

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

HEX
#ba65cc
RGB
186, 101, 204
HSL
289.51°, 50.24%, 59.8%
OKLCH
0.64 0.17 320.4
Names
—
Lists

Codes

FormatValue
HEX#ba65cc
RGBrgb(186 101 204)
HSLhsl(289.51 50.24% 59.8%)
OKLCHoklch(0.64 0.17 320.4)
CMYKcmyk(8.82% 50.49% 0% 20%)
Android#ffba65cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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