#BA4AC1#BA4AC1

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

Color values

HEX#BA4AC1
RGBrgb(186, 74, 193)
HSLhsl(296, 49%, 52%)
HSVhsv(296, 62%, 76%)
CMYKcmyk(3.6%, 61.7%, 0%, 24.3%)
CIE-LABlab(50.91, 60.61, -41.42)
CIE-LCHlch(50.91, 73.41, 325.65°)
OKLaboklab(60.26% 0.1658 -0.1147)
OKLCHoklch(60.26% 0.202 325.3)
XYZxyz(32.3234, 19.1888, 52.4430)
Luminance0.1919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4AC1 #51C14A
analogous
#7F4AC1 #BA4AC1 #C14A8C
triadic
#BA4AC1 #C1BA4A #4AC1BA
tetradic
#BA4AC1 #C17F4A #51C14A #4A8CC1
square
#BA4AC1 #C17F4A #51C14A #4A8CC1
split-complementary
#BA4AC1 #8CC14A #4AC17F
monochromatic
#68256C #933599 #BA4AC1 #CB78D1 #DDA5E0

Accessibility & contrast

On white

4.34
#BA4AC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#BA4AC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4AC1
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4AC1#FFFFFF#000000##000000
##BA4AC11.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3770C5
Deuteranopia (green-blind)
#607EBE
Tritanopia (blue-blind)
#BE5B7F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba4ac1;
/* rgb */ color: rgb(186, 74, 193);
/* oklch */ color: oklch(60.3% 0.202 325.3);
Tailwind
colors: {
  custom: {
    50: '#d284d4',
    500: '#ba4ac1',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ac1;
$custom-light: #d284d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ac1",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 193
  },
  "hsl": {
    "h": 296.471,
    "s": 48.971,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60262,
    "c": 0.20165,
    "h": 325.3
  },
  "luminance": 0.19187
}

Semantic roles & 50–950 ramp

primary
#BA4AC1
secondary
#9DCD99
accent
#D94F57
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA4AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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