#BA4AC6#BA4AC6

#BA4AC6 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.5% C 0.206 H 323.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BA4AC6
RGBrgb(186, 74, 198)
HSLhsl(294, 52%, 53%)
HSVhsv(294, 63%, 78%)
CMYKcmyk(6.1%, 62.6%, 0%, 22.4%)
CIE-LABlab(51.17, 61.51, -43.88)
CIE-LCHlch(51.17, 75.56, 324.49°)
OKLaboklab(60.54% 0.1661 -0.1219)
OKLCHoklch(60.54% 0.206 323.7)
XYZxyz(32.8906, 19.4157, 55.4303)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4AC6 #56C64A
analogous
#7C4AC6 #BA4AC6 #C64A94
triadic
#BA4AC6 #C6BA4A #4AC6BA
tetradic
#BA4AC6 #C67C4A #56C64A #4A94C6
square
#BA4AC6 #C67C4A #56C64A #4A94C6
split-complementary
#BA4AC6 #94C64A #4AC67C
monochromatic
#6A2472 #9632A0 #BA4AC6 #CC79D5 #DDA7E3

Accessibility & contrast

On white

4.30
#BA4AC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#BA4AC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4AC6
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4AC6#FFFFFF#000000##000000
##BA4AC61.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3171CA
Deuteranopia (green-blind)
#5D7EC3
Tritanopia (blue-blind)
#BD5D81
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba4ac6;
/* rgb */ color: rgb(186, 74, 198);
/* oklch */ color: oklch(60.5% 0.206 323.7);
Tailwind
colors: {
  custom: {
    50: '#d284d8',
    500: '#ba4ac6',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ac6;
$custom-light: #d284d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ac6",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 198
  },
  "hsl": {
    "h": 294.194,
    "s": 52.101,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60537,
    "c": 0.206,
    "h": 323.7
  },
  "luminance": 0.19414
}

Semantic roles & 50–950 ramp

primary
#BA4AC6
secondary
#A0D19B
accent
#DC4C5A
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA4AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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