#BA4DAC#BA4DAC

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

Color values

HEX#BA4DAC
RGBrgb(186, 77, 172)
HSLhsl(308, 44%, 52%)
HSVhsv(308, 59%, 73%)
CMYKcmyk(0%, 58.6%, 7.5%, 27.1%)
CIE-LABlab(50.37, 55.69, -30.04)
CIE-LCHlch(50.37, 63.27, 331.65°)
OKLaboklab(59.54% 0.16 -0.082)
OKLCHoklch(59.54% 0.18 332.9)
XYZxyz(30.3500, 18.7276, 41.0380)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4DAC #4DBA5B
analogous
#924DBA #BA4DAC #BA4D76
triadic
#BA4DAC #ACBA4D #4DACBA
tetradic
#BA4DAC #BA924D #4DBA5B #4D76BA
square
#BA4DAC #BA924D #4DBA5B #4D76BA
split-complementary
#BA4DAC #76BA4D #4DBA92
monochromatic
#65275D #913886 #BA4DAC #CB79C1 #DCA5D5

Accessibility & contrast

On white

4.43
#BA4DAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4DAC#FFFFFF#000000##000000
##BA4DAC1.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6EAF
Deuteranopia (green-blind)
#6C7EA9
Tritanopia (blue-blind)
#C25575
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba4dac;
/* rgb */ color: rgb(186, 77, 172);
/* oklch */ color: oklch(59.5% 0.180 332.9);
Tailwind
colors: {
  custom: {
    50: '#d185c5',
    500: '#ba4dac',
    950: '#000000',
  },
}
SCSS
$custom: #ba4dac;
$custom-light: #d185c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4dac",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 172
  },
  "hsl": {
    "h": 307.706,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59535,
    "c": 0.17974,
    "h": 332.9
  },
  "luminance": 0.18725
}

Semantic roles & 50–950 ramp

primary
#BA4DAC
secondary
#99C9A0
accent
#D46454
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA4DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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