#BA4CB3#BA4CB3

#BA4CB3 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.8% C 0.187 H 330.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#BA4CB3
RGBrgb(186, 76, 179)
HSLhsl(304, 44%, 51%)
HSVhsv(304, 59%, 73%)
CMYKcmyk(0%, 59.1%, 3.8%, 27.1%)
CIE-LABlab(50.53, 57.30, -33.88)
CIE-LCHlch(50.53, 66.57, 329.40°)
OKLaboklab(59.76% 0.1622 -0.093)
OKLCHoklch(59.76% 0.187 330.2)
XYZxyz(30.9706, 18.8648, 44.6491)
Luminance0.1886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CB3 #4CBA53
analogous
#8A4CBA #BA4CB3 #BA4C7C
triadic
#BA4CB3 #B3BA4C #4CB3BA
tetradic
#BA4CB3 #BA8A4C #4CBA53 #4C7CBA
square
#BA4CB3 #BA8A4C #4CBA53 #4C7CBA
split-complementary
#BA4CB3 #7CBA4C #4CBA8A
monochromatic
#652761 #91388B #BA4CB3 #CB78C6 #DCA4D9

Accessibility & contrast

On white

4.40
#BA4CB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#BA4CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CB3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CB3#FFFFFF#000000##000000
##BA4CB31.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#446FB6
Deuteranopia (green-blind)
#687EB0
Tritanopia (blue-blind)
#C15778
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba4cb3;
/* rgb */ color: rgb(186, 76, 179);
/* oklch */ color: oklch(59.8% 0.187 330.2);
Tailwind
colors: {
  custom: {
    50: '#d284ca',
    500: '#ba4cb3',
    950: '#000000',
  },
}
SCSS
$custom: #ba4cb3;
$custom-light: #d284ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4cb3",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 303.818,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5976,
    "c": 0.18694,
    "h": 330.2
  },
  "luminance": 0.18863
}

Semantic roles & 50–950 ramp

primary
#BA4CB3
secondary
#99C99C
accent
#D45C54
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA4CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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