#BA44AB#BA44AB

#BA44AB is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.5% C 0.192 H 333.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BA44AB
RGBrgb(186, 68, 171)
HSLhsl(308, 46%, 50%)
HSVhsv(308, 63%, 73%)
CMYKcmyk(0%, 63.4%, 8.1%, 27.1%)
CIE-LABlab(48.90, 59.41, -31.74)
CIE-LCHlch(48.90, 67.36, 331.89°)
OKLaboklab(58.45% 0.1711 -0.0868)
OKLCHoklch(58.45% 0.192 333.1)
XYZxyz(29.6676, 17.5159, 40.3385)
Luminance0.1751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA44AB #44BA53
analogous
#8E44BA #BA44AB #BA4470
triadic
#BA44AB #ABBA44 #44ABBA
tetradic
#BA44AB #BA8E44 #44BA53 #4470BA
square
#BA44AB #BA8E44 #44BA53 #4470BA
split-complementary
#BA44AB #70BA44 #44BA8E
monochromatic
#602359 #8D3482 #BA44AB #CB70BF #DB9DD3

Accessibility & contrast

On white

4.66
#BA44AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#BA44AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA44AB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA44AB#FFFFFF#000000##FFFFFF
##BA44AB1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4169AE
Deuteranopia (green-blind)
#687AA8
Tritanopia (blue-blind)
#C24E71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba44ab;
/* rgb */ color: rgb(186, 68, 171);
/* oklch */ color: oklch(58.5% 0.192 333.1);
Tailwind
colors: {
  custom: {
    50: '#d280c4',
    500: '#ba44ab',
    950: '#000000',
  },
}
SCSS
$custom: #ba44ab;
$custom-light: #d280c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba44ab",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 171
  },
  "hsl": {
    "h": 307.627,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58451,
    "c": 0.19188,
    "h": 333.1
  },
  "luminance": 0.17514
}

Semantic roles & 50–950 ramp

primary
#BA44AB
secondary
#92C899
accent
#D66352
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA44AB

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

Preview Lab → · Contrast checker → · Palette generator →

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