#BA4EAE#BA4EAE

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

Color values

HEX#BA4EAE
RGBrgb(186, 78, 174)
HSLhsl(307, 44%, 52%)
HSVhsv(307, 58%, 73%)
CMYKcmyk(0%, 58.1%, 6.5%, 27.1%)
CIE-LABlab(50.62, 55.57, -30.81)
CIE-LCHlch(50.62, 63.54, 330.99°)
OKLaboklab(59.75% 0.1589 -0.0842)
OKLCHoklch(59.75% 0.18 332.1)
XYZxyz(30.6140, 18.9460, 42.0807)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4EAE #4EBA5A
analogous
#904EBA #BA4EAE #BA4E78
triadic
#BA4EAE #AEBA4E #4EAEBA
tetradic
#BA4EAE #BA904E #4EBA5A #4E78BA
square
#BA4EAE #BA904E #4EBA5A #4E78BA
split-complementary
#BA4EAE #78BA4E #4EBA90
monochromatic
#66285F #923988 #BA4EAE #CB7AC2 #DCA6D6

Accessibility & contrast

On white

4.39
#BA4EAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#BA4EAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4EAE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4EAE#FFFFFF#000000##000000
##BA4EAE1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6FB1
Deuteranopia (green-blind)
#6C7EAB
Tritanopia (blue-blind)
#C15777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba4eae;
/* rgb */ color: rgb(186, 78, 174);
/* oklch */ color: oklch(59.8% 0.180 332.1);
Tailwind
colors: {
  custom: {
    50: '#d185c6',
    500: '#ba4eae',
    950: '#000000',
  },
}
SCSS
$custom: #ba4eae;
$custom-light: #d185c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4eae",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 306.667,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59753,
    "c": 0.17987,
    "h": 332.1
  },
  "luminance": 0.18944
}

Semantic roles & 50–950 ramp

primary
#BA4EAE
secondary
#9ACA9F
accent
#D46254
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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