#BA4AC2#BA4AC2

#BA4AC2 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.3% C 0.203 H 325.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#BA4AC2
RGBrgb(186, 74, 194)
HSLhsl(296, 50%, 53%)
HSVhsv(296, 62%, 76%)
CMYKcmyk(4.1%, 61.9%, 0%, 23.9%)
CIE-LABlab(50.96, 60.79, -41.91)
CIE-LCHlch(50.96, 73.84, 325.41°)
OKLaboklab(60.32% 0.1659 -0.1162)
OKLCHoklch(60.32% 0.203 325)
XYZxyz(32.4353, 19.2336, 53.0325)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4AC2 #52C24A
analogous
#7E4AC2 #BA4AC2 #C24A8E
triadic
#BA4AC2 #C2BA4A #4AC2BA
tetradic
#BA4AC2 #C27E4A #52C24A #4A8EC2
square
#BA4AC2 #C27E4A #52C24A #4A8EC2
split-complementary
#BA4AC2 #8EC24A #4AC27E
monochromatic
#68256D #94349B #BA4AC2 #CB78D1 #DDA6E1

Accessibility & contrast

On white

4.33
#BA4AC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#BA4AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4AC2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4AC2#FFFFFF#000000##000000
##BA4AC21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3671C6
Deuteranopia (green-blind)
#607EBF
Tritanopia (blue-blind)
#BE5B7F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba4ac2;
/* rgb */ color: rgb(186, 74, 194);
/* oklch */ color: oklch(60.3% 0.203 325.0);
Tailwind
colors: {
  custom: {
    50: '#d284d5',
    500: '#ba4ac2',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ac2;
$custom-light: #d284d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ac2",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 296,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60316,
    "c": 0.20251,
    "h": 325
  },
  "luminance": 0.19232
}

Semantic roles & 50–950 ramp

primary
#BA4AC2
secondary
#9DCE9A
accent
#D94F58
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA4AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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