#BA3AB4#BA3AB4

#BA3AB4 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.9% C 0.212 H 329.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#BA3AB4
RGBrgb(186, 58, 180)
HSLhsl(303, 52%, 48%)
HSVhsv(303, 69%, 73%)
CMYKcmyk(0%, 68.8%, 3.2%, 27.1%)
CIE-LABlab(47.96, 64.75, -38.51)
CIE-LCHlch(47.96, 75.33, 329.26°)
OKLaboklab(57.91% 0.1831 -0.1062)
OKLCHoklch(57.91% 0.212 329.9)
XYZxyz(30.0008, 16.7627, 44.8266)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3AB4 #3ABA40
analogous
#803ABA #BA3AB4 #BA3A74
triadic
#BA3AB4 #B4BA3A #3AB4BA
tetradic
#BA3AB4 #BA803A #3ABA40 #3A74BA
square
#BA3AB4 #BA803A #3ABA40 #3A74BA
split-complementary
#BA3AB4 #74BA3A #3ABA80
monochromatic
#5D1D5A #8B2B87 #BA3AB4 #CE63C9 #DD92D9

Accessibility & contrast

On white

4.83
#BA3AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#BA3AB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3AB4
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3AB4#FFFFFF#000000##FFFFFF
##BA3AB41.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D67B7
Deuteranopia (green-blind)
#5E78B1
Tritanopia (blue-blind)
#C14A73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba3ab4;
/* rgb */ color: rgb(186, 58, 180);
/* oklch */ color: oklch(57.9% 0.212 329.9);
Tailwind
colors: {
  custom: {
    50: '#d27bcb',
    500: '#ba3ab4',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ab4;
$custom-light: #d27bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ab4",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 180
  },
  "hsl": {
    "h": 302.813,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57912,
    "c": 0.21166,
    "h": 329.9
  },
  "luminance": 0.16761
}

Semantic roles & 50–950 ramp

primary
#BA3AB4
secondary
#88C88B
accent
#DC534C
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA3AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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