#BA4ABF#BA4ABF

#BA4ABF is a mid, vivid purple. Relative luminance 0.191; OKLCH L 60.2% C 0.200 H 326.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#BA4ABF
RGBrgb(186, 74, 191)
HSLhsl(297, 48%, 52%)
HSVhsv(297, 61%, 75%)
CMYKcmyk(2.6%, 61.3%, 0%, 25.1%)
CIE-LABlab(50.80, 60.25, -40.42)
CIE-LCHlch(50.80, 72.56, 326.14°)
OKLaboklab(60.15% 0.1657 -0.1118)
OKLCHoklch(60.15% 0.2 326)
XYZxyz(32.1018, 19.1002, 51.2760)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4ABF #4FBF4A
analogous
#804ABF #BA4ABF #BF4A8A
triadic
#BA4ABF #BFBA4A #4ABFBA
tetradic
#BA4ABF #BF804A #4FBF4A #4A8ABF
square
#BA4ABF #BF804A #4FBF4A #4A8ABF
split-complementary
#BA4ABF #8ABF4A #4ABF80
monochromatic
#662569 #923597 #BA4ABF #CB77CF #DCA4DF

Accessibility & contrast

On white

4.36
#BA4ABF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#BA4ABF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4ABF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4ABF#FFFFFF#000000##000000
##BA4ABF1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3870C3
Deuteranopia (green-blind)
#617EBC
Tritanopia (blue-blind)
#BF5A7E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba4abf;
/* rgb */ color: rgb(186, 74, 191);
/* oklch */ color: oklch(60.2% 0.200 326.0);
Tailwind
colors: {
  custom: {
    50: '#d284d3',
    500: '#ba4abf',
    950: '#000000',
  },
}
SCSS
$custom: #ba4abf;
$custom-light: #d284d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4abf",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 191
  },
  "hsl": {
    "h": 297.436,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60153,
    "c": 0.19993,
    "h": 326
  },
  "luminance": 0.19098
}

Semantic roles & 50–950 ramp

primary
#BA4ABF
secondary
#9BCC99
accent
#D75056
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA4ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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