#BA4BC1#BA4BC1

#BA4BC1 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.4% C 0.200 H 325.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BA4BC1
RGBrgb(186, 75, 193)
HSLhsl(296, 49%, 53%)
HSVhsv(296, 61%, 76%)
CMYKcmyk(3.6%, 61.1%, 0%, 24.3%)
CIE-LABlab(51.06, 60.18, -41.17)
CIE-LCHlch(51.06, 72.91, 325.62°)
OKLaboklab(60.38% 0.1646 -0.114)
OKLCHoklch(60.38% 0.2 325.3)
XYZxyz(32.3907, 19.3234, 52.4654)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BC1 #52C14B
analogous
#7F4BC1 #BA4BC1 #C14B8D
triadic
#BA4BC1 #C1BA4B #4BC1BA
tetradic
#BA4BC1 #C17F4B #52C14B #4B8DC1
square
#BA4BC1 #C17F4B #52C14B #4B8DC1
split-complementary
#BA4BC1 #8DC14B #4BC17F
monochromatic
#68256C #94359A #BA4BC1 #CB79D1 #DDA6E0

Accessibility & contrast

On white

4.32
#BA4BC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#BA4BC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BC1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BC1#FFFFFF#000000##000000
##BA4BC11.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3871C5
Deuteranopia (green-blind)
#617EBE
Tritanopia (blue-blind)
#BE5B7F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba4bc1;
/* rgb */ color: rgb(186, 75, 193);
/* oklch */ color: oklch(60.4% 0.200 325.3);
Tailwind
colors: {
  custom: {
    50: '#d284d4',
    500: '#ba4bc1',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bc1;
$custom-light: #d284d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bc1",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 193
  },
  "hsl": {
    "h": 296.441,
    "s": 48.76,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60375,
    "c": 0.20026,
    "h": 325.3
  },
  "luminance": 0.19322
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA4BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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