#BA4CAE#BA4CAE

#BA4CAE is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.5% C 0.183 H 332.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#BA4CAE
RGBrgb(186, 76, 174)
HSLhsl(307, 44%, 51%)
HSVhsv(307, 59%, 73%)
CMYKcmyk(0%, 59.1%, 6.5%, 27.1%)
CIE-LABlab(50.29, 56.46, -31.33)
CIE-LCHlch(50.29, 64.57, 330.98°)
OKLaboklab(59.51% 0.1615 -0.0857)
OKLCHoklch(59.51% 0.183 332.1)
XYZxyz(30.4741, 18.6662, 42.0341)
Luminance0.1866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CAE #4CBA58
analogous
#8F4CBA #BA4CAE #BA4C77
triadic
#BA4CAE #AEBA4C #4CAEBA
tetradic
#BA4CAE #BA8F4C #4CBA58 #4C77BA
square
#BA4CAE #BA8F4C #4CBA58 #4C77BA
split-complementary
#BA4CAE #77BA4C #4CBA8F
monochromatic
#65275E #913887 #BA4CAE #CB78C2 #DCA4D6

Accessibility & contrast

On white

4.44
#BA4CAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#BA4CAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CAE
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CAE#FFFFFF#000000##000000
##BA4CAE1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#486EB1
Deuteranopia (green-blind)
#6B7DAB
Tritanopia (blue-blind)
#C15576
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba4cae;
/* rgb */ color: rgb(186, 76, 174);
/* oklch */ color: oklch(59.5% 0.183 332.1);
Tailwind
colors: {
  custom: {
    50: '#d284c6',
    500: '#ba4cae',
    950: '#000000',
  },
}
SCSS
$custom: #ba4cae;
$custom-light: #d284c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4cae",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 174
  },
  "hsl": {
    "h": 306.545,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59512,
    "c": 0.18284,
    "h": 332.1
  },
  "luminance": 0.18664
}

Semantic roles & 50–950 ramp

primary
#BA4CAE
secondary
#99C99E
accent
#D46254
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA4CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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