#BA49BA#BA49BA

#BA49BA is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.8% C 0.197 H 327.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BA49BA
RGBrgb(186, 73, 186)
HSLhsl(300, 45%, 51%)
HSVhsv(300, 61%, 73%)
CMYKcmyk(0%, 60.8%, 0%, 27.1%)
CIE-LABlab(50.40, 59.81, -38.17)
CIE-LCHlch(50.40, 70.95, 327.46°)
OKLaboklab(59.77% 0.1666 -0.1053)
OKLCHoklch(59.77% 0.197 327.7)
XYZxyz(31.4947, 18.7514, 48.4054)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49BA #49BA49
analogous
#8149BA #BA49BA #BA4981
triadic
#BA49BA #BABA49 #49BABA
tetradic
#BA49BA #BA8149 #49BA49 #4981BA
square
#BA49BA #BA8149 #49BA49 #4981BA
split-complementary
#BA49BA #81BA49 #49BA81
monochromatic
#632663 #8F368F #BA49BA #CB75CB #DCA2DC

Accessibility & contrast

On white

4.42
#BA49BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#BA49BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49BA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49BA#FFFFFF#000000##000000
##BA49BA1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6EBD
Deuteranopia (green-blind)
#637DB7
Tritanopia (blue-blind)
#BF577B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba49ba;
/* rgb */ color: rgb(186, 73, 186);
/* oklch */ color: oklch(59.8% 0.197 327.7);
Tailwind
colors: {
  custom: {
    50: '#d283cf',
    500: '#ba49ba',
    950: '#000000',
  },
}
SCSS
$custom: #ba49ba;
$custom-light: #d283cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49ba",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 300,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59774,
    "c": 0.19707,
    "h": 327.7
  },
  "luminance": 0.18749
}

Semantic roles & 50–950 ramp

primary
#BA49BA
secondary
#96C896
accent
#D55353
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BA49BA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BA49BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva