#BA4ACB#BA4ACB

#BA4ACB is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.8% C 0.210 H 322.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#BA4ACB
RGBrgb(186, 74, 203)
HSLhsl(292, 55%, 54%)
HSVhsv(292, 64%, 80%)
CMYKcmyk(8.4%, 63.5%, 0%, 20.4%)
CIE-LABlab(51.44, 62.42, -46.33)
CIE-LCHlch(51.44, 77.74, 323.41°)
OKLaboklab(60.82% 0.1662 -0.129)
OKLCHoklch(60.82% 0.21 322.2)
XYZxyz(33.4768, 19.6502, 58.5179)
Luminance0.1965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4ACB #5BCB4A
analogous
#7A4ACB #BA4ACB #CB4A9C
triadic
#BA4ACB #CBBA4A #4ACBBA
tetradic
#BA4ACB #CB7A4A #5BCB4A #4A9CCB
square
#BA4ACB #CB7A4A #5BCB4A #4A9CCB
split-complementary
#BA4ACB #9CCB4A #4ACB7A
monochromatic
#6D2378 #9830A8 #BA4ACB #CC7AD9 #DEA9E6

Accessibility & contrast

On white

4.26
#BA4ACB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#BA4ACB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4ACB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4ACB#FFFFFF#000000##000000
##BA4ACB1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B72CF
Deuteranopia (green-blind)
#5A7FC8
Tritanopia (blue-blind)
#BC5F84
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba4acb;
/* rgb */ color: rgb(186, 74, 203);
/* oklch */ color: oklch(60.8% 0.210 322.2);
Tailwind
colors: {
  custom: {
    50: '#d284db',
    500: '#ba4acb',
    950: '#000000',
  },
}
SCSS
$custom: #ba4acb;
$custom-light: #d284db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4acb",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 203
  },
  "hsl": {
    "h": 292.093,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60819,
    "c": 0.21039,
    "h": 322.2
  },
  "luminance": 0.19648
}

Semantic roles & 50–950 ramp

primary
#BA4ACB
secondary
#A4D49D
accent
#DF495D
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #BA4ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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