#BA4CBA#BA4CBA

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

Color values

HEX#BA4CBA
RGBrgb(186, 76, 186)
HSLhsl(300, 44%, 51%)
HSVhsv(300, 59%, 73%)
CMYKcmyk(0%, 59.1%, 0%, 27.1%)
CIE-LABlab(50.87, 58.51, -37.42)
CIE-LCHlch(50.87, 69.45, 327.40°)
OKLaboklab(60.12% 0.1629 -0.1032)
OKLCHoklch(60.12% 0.193 327.6)
XYZxyz(31.6966, 19.1552, 48.4727)
Luminance0.1915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CBA #4CBA4C
analogous
#834CBA #BA4CBA #BA4C83
triadic
#BA4CBA #BABA4C #4CBABA
tetradic
#BA4CBA #BA834C #4CBA4C #4C83BA
square
#BA4CBA #BA834C #4CBA4C #4C83BA
split-complementary
#BA4CBA #83BA4C #4CBA83
monochromatic
#652765 #913891 #BA4CBA #CB78CB #DCA4DC

Accessibility & contrast

On white

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

On black

4.83
#BA4CBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CBA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CBA#FFFFFF#000000##000000
##BA4CBA1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F70BD
Deuteranopia (green-blind)
#657EB7
Tritanopia (blue-blind)
#BF5A7C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba4cba;
/* rgb */ color: rgb(186, 76, 186);
/* oklch */ color: oklch(60.1% 0.193 327.6);
Tailwind
colors: {
  custom: {
    50: '#d285cf',
    500: '#ba4cba',
    950: '#000000',
  },
}
SCSS
$custom: #ba4cba;
$custom-light: #d285cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4cba",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 186
  },
  "hsl": {
    "h": 300,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60118,
    "c": 0.19282,
    "h": 327.6
  },
  "luminance": 0.19153
}

Semantic roles & 50–950 ramp

primary
#BA4CBA
secondary
#99C999
accent
#D45454
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BA4CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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