#BA4AC0#BA4AC0

#BA4AC0 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.2% C 0.201 H 325.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#BA4AC0
RGBrgb(186, 74, 192)
HSLhsl(297, 48%, 52%)
HSVhsv(297, 61%, 75%)
CMYKcmyk(3.1%, 61.5%, 0%, 24.7%)
CIE-LABlab(50.86, 60.43, -40.92)
CIE-LCHlch(50.86, 72.98, 325.90°)
OKLaboklab(60.21% 0.1658 -0.1133)
OKLCHoklch(60.21% 0.201 325.7)
XYZxyz(32.2122, 19.1444, 51.8575)
Luminance0.1914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4AC0 #50C04A
analogous
#7F4AC0 #BA4AC0 #C04A8B
triadic
#BA4AC0 #C0BA4A #4AC0BA
tetradic
#BA4AC0 #C07F4A #50C04A #4A8BC0
square
#BA4AC0 #C07F4A #50C04A #4A8BC0
split-complementary
#BA4AC0 #8BC04A #4AC07F
monochromatic
#67256B #933598 #BA4AC0 #CB77D0 #DDA5E0

Accessibility & contrast

On white

4.35
#BA4AC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#BA4AC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4AC0
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4AC0#FFFFFF#000000##000000
##BA4AC01.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3770C4
Deuteranopia (green-blind)
#617EBD
Tritanopia (blue-blind)
#BE5A7E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba4ac0;
/* rgb */ color: rgb(186, 74, 192);
/* oklch */ color: oklch(60.2% 0.201 325.7);
Tailwind
colors: {
  custom: {
    50: '#d284d3',
    500: '#ba4ac0',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ac0;
$custom-light: #d284d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ac0",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 192
  },
  "hsl": {
    "h": 296.949,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60207,
    "c": 0.20078,
    "h": 325.7
  },
  "luminance": 0.19142
}

Semantic roles & 50–950 ramp

primary
#BA4AC0
secondary
#9CCD99
accent
#D85057
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA4AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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