#BA4ACA#BA4ACA

#BA4ACA is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.8% C 0.210 H 322.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BA4ACA
RGBrgb(186, 74, 202)
HSLhsl(293, 55%, 54%)
HSVhsv(293, 63%, 79%)
CMYKcmyk(7.9%, 63.4%, 0%, 20.8%)
CIE-LABlab(51.38, 62.24, -45.84)
CIE-LCHlch(51.38, 77.30, 323.62°)
OKLaboklab(60.76% 0.1662 -0.1276)
OKLCHoklch(60.76% 0.21 322.5)
XYZxyz(33.3581, 19.6027, 57.8923)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4ACA #5ACA4A
analogous
#7A4ACA #BA4ACA #CA4A9A
triadic
#BA4ACA #CABA4A #4ACABA
tetradic
#BA4ACA #CA7A4A #5ACA4A #4A9ACA
square
#BA4ACA #CA7A4A #5ACA4A #4A9ACA
split-complementary
#BA4ACA #9ACA4A #4ACA7A
monochromatic
#6C2377 #9731A6 #BA4ACA #CC79D8 #DEA9E6

Accessibility & contrast

On white

4.27
#BA4ACA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#BA4ACA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4ACA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4ACA#FFFFFF#000000##000000
##BA4ACA1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D72CE
Deuteranopia (green-blind)
#5B7FC7
Tritanopia (blue-blind)
#BC5E84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba4aca;
/* rgb */ color: rgb(186, 74, 202);
/* oklch */ color: oklch(60.8% 0.210 322.5);
Tailwind
colors: {
  custom: {
    50: '#d284db',
    500: '#ba4aca',
    950: '#000000',
  },
}
SCSS
$custom: #ba4aca;
$custom-light: #d284db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4aca",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 292.5,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60762,
    "c": 0.20951,
    "h": 322.5
  },
  "luminance": 0.19601
}

Semantic roles & 50–950 ramp

primary
#BA4ACA
secondary
#A3D39D
accent
#DE4A5C
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #BA4ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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