#BA44AC#BA44AC

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

Color values

HEX#BA44AC
RGBrgb(186, 68, 172)
HSLhsl(307, 46%, 50%)
HSVhsv(307, 63%, 73%)
CMYKcmyk(0%, 63.4%, 7.5%, 27.1%)
CIE-LABlab(48.95, 59.57, -32.25)
CIE-LCHlch(48.95, 67.75, 331.57°)
OKLaboklab(58.5% 0.1713 -0.0882)
OKLCHoklch(58.5% 0.193 332.7)
XYZxyz(29.7633, 17.5542, 40.8424)
Luminance0.1755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA44AC #44BA52
analogous
#8D44BA #BA44AC #BA4471
triadic
#BA44AC #ACBA44 #44ACBA
tetradic
#BA44AC #BA8D44 #44BA52 #4471BA
square
#BA44AC #BA8D44 #44BA52 #4471BA
split-complementary
#BA44AC #71BA44 #44BA8D
monochromatic
#602359 #8D3483 #BA44AC #CB70C0 #DB9DD4

Accessibility & contrast

On white

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

On black

4.51
#BA44AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA44AC#FFFFFF#000000##FFFFFF
##BA44AC1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4069AF
Deuteranopia (green-blind)
#677AA9
Tritanopia (blue-blind)
#C24E72
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba44ac;
/* rgb */ color: rgb(186, 68, 172);
/* oklch */ color: oklch(58.5% 0.193 332.7);
Tailwind
colors: {
  custom: {
    50: '#d280c5',
    500: '#ba44ac',
    950: '#000000',
  },
}
SCSS
$custom: #ba44ac;
$custom-light: #d280c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba44ac",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 172
  },
  "hsl": {
    "h": 307.119,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58501,
    "c": 0.19265,
    "h": 332.7
  },
  "luminance": 0.17552
}

Semantic roles & 50–950 ramp

primary
#BA44AC
secondary
#92C899
accent
#D66152
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA44AC

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

Preview Lab → · Contrast checker → · Palette generator →

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