#BA4DAA#BA4DAA

#BA4DAA is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.4% C 0.178 H 333.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#BA4DAA
RGBrgb(186, 77, 170)
HSLhsl(309, 44%, 52%)
HSVhsv(309, 59%, 73%)
CMYKcmyk(0%, 58.6%, 8.6%, 27.1%)
CIE-LABlab(50.28, 55.36, -29.01)
CIE-LCHlch(50.28, 62.50, 332.34°)
OKLaboklab(59.44% 0.1596 -0.079)
OKLCHoklch(59.44% 0.178 333.7)
XYZxyz(30.1594, 18.6514, 40.0340)
Luminance0.1865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4DAA #4DBA5D
analogous
#944DBA #BA4DAA #BA4D74
triadic
#BA4DAA #AABA4D #4DAABA
tetradic
#BA4DAA #BA944D #4DBA5D #4D74BA
square
#BA4DAA #BA944D #4DBA5D #4D74BA
split-complementary
#BA4DAA #74BA4D #4DBA94
monochromatic
#65275C #913884 #BA4DAA #CB79BF #DCA5D4

Accessibility & contrast

On white

4.44
#BA4DAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#BA4DAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4DAA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4DAA#FFFFFF#000000##000000
##BA4DAA1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6EAD
Deuteranopia (green-blind)
#6D7DA7
Tritanopia (blue-blind)
#C25574
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba4daa;
/* rgb */ color: rgb(186, 77, 170);
/* oklch */ color: oklch(59.4% 0.178 333.7);
Tailwind
colors: {
  custom: {
    50: '#d185c3',
    500: '#ba4daa',
    950: '#000000',
  },
}
SCSS
$custom: #ba4daa;
$custom-light: #d185c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4daa",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 170
  },
  "hsl": {
    "h": 308.807,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59439,
    "c": 0.17815,
    "h": 333.7
  },
  "luminance": 0.18649
}

Semantic roles & 50–950 ramp

primary
#BA4DAA
secondary
#99C9A0
accent
#D46754
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA4DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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