Skip to content
Vectorlight.net

#ba62dd

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

HEX
#ba62dd
RGB
186, 98, 221
HSL
282.93°, 64.4%, 62.55%
OKLCH
0.65 0.19 315.37
Names
—
Lists

Codes

FormatValue
HEX#ba62dd
RGBrgb(186 98 221)
HSLhsl(282.93 64.4% 62.55%)
OKLCHoklch(0.65 0.19 315.37)
CMYKcmyk(15.84% 55.66% 0% 13.33%)
Android#ffba62dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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