Skip to content

#ba49df

a balanced, vivid violet · warm · closest name: orchid

RGB
186, 73, 223
HSL
285°, 70%, 58%
CMYK
17, 67, 0, 13
Luminance
0.2053

Every format

HEX#ba49df
RGBrgb(186, 73, 223)
HSLhsl(285, 70%, 58%)
CMYKcmyk(17%, 67%, 0%, 13%)
LABlab(52.4 66.6 -56.1)
LCHlch(52.4 87.1 319.9)
OKLCHoklch(0.619 0.230 316.6)

Copy-ready code

/* CSS */
color: #ba49df;
background-color: #ba49df;
/* Tailwind (arbitrary) */
class="text-[#ba49df] bg-[#ba49df]"
/* SCSS */
$brand: #ba49df;
/* SwiftUI */
Color(red: 0.729, green: 0.286, blue: 0.875)
/* Android */
Color.parseColor("#ba49df")

Accessibility — WCAG contrast

Aa
#ba49df on white: 4.11:1
AA ✗ fail · AA-large · AAA
Aa
#ba49df on black: 5.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green28.6%
Blue87.5%

CMYK percentages

Cyan16.6%
Magenta67.3%
Yellow0.0%
Key (black)12.5%

Color previews

#ba49df text on a black background

contrast 5.11:1

Card sample

#ba49df text on a white background

contrast 4.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #ba49df;
Background color
Panel with #ba49df background
background-color: #ba49df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #ba49df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(186, 73, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 73, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ba49df;
background: linear-gradient(135deg, #ba49df, #DF49A0);

Monochromatic scale

Palettes built from #ba49df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ba49df in the Color Lab