#BA4CB9#BA4CB9

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

Color values

HEX#BA4CB9
RGBrgb(186, 76, 185)
HSLhsl(301, 44%, 51%)
HSVhsv(301, 59%, 73%)
CMYKcmyk(0%, 59.1%, 0.5%, 27.1%)
CIE-LABlab(50.82, 58.33, -36.92)
CIE-LCHlch(50.82, 69.04, 327.67°)
OKLaboklab(60.07% 0.1628 -0.1017)
OKLCHoklch(60.07% 0.192 328)
XYZxyz(31.5907, 19.1128, 47.9148)
Luminance0.1911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CB9 #4CBA4D
analogous
#844CBA #BA4CB9 #BA4C82
triadic
#BA4CB9 #B9BA4C #4CB9BA
tetradic
#BA4CB9 #BA844C #4CBA4D #4C82BA
square
#BA4CB9 #BA844C #4CBA4D #4C82BA
split-complementary
#BA4CB9 #82BA4C #4CBA84
monochromatic
#652764 #913890 #BA4CB9 #CB78CA #DCA4DC

Accessibility & contrast

On white

4.35
#BA4CB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4CB9#FFFFFF#000000##000000
##BA4CB91.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4070BC
Deuteranopia (green-blind)
#667EB6
Tritanopia (blue-blind)
#C0597B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba4cb9;
/* rgb */ color: rgb(186, 76, 185);
/* oklch */ color: oklch(60.1% 0.192 328.0);
Tailwind
colors: {
  custom: {
    50: '#d285ce',
    500: '#ba4cb9',
    950: '#000000',
  },
}
SCSS
$custom: #ba4cb9;
$custom-light: #d285ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4cb9",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 185
  },
  "hsl": {
    "h": 300.545,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60066,
    "c": 0.19198,
    "h": 328
  },
  "luminance": 0.19111
}

Semantic roles & 50–950 ramp

primary
#BA4CB9
secondary
#99C999
accent
#D45554
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA4CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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