#BA4AC7#BA4AC7

#BA4AC7 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.6% C 0.207 H 323.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BA4AC7
RGBrgb(186, 74, 199)
HSLhsl(294, 53%, 54%)
HSVhsv(294, 63%, 78%)
CMYKcmyk(6.5%, 62.8%, 0%, 22%)
CIE-LABlab(51.22, 61.69, -44.38)
CIE-LCHlch(51.22, 75.99, 324.27°)
OKLaboklab(60.59% 0.1661 -0.1233)
OKLCHoklch(60.59% 0.207 323.4)
XYZxyz(33.0063, 19.4620, 56.0398)
Luminance0.1946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4AC7 #57C74A
analogous
#7B4AC7 #BA4AC7 #C74A95
triadic
#BA4AC7 #C7BA4A #4AC7BA
tetradic
#BA4AC7 #C77B4A #57C74A #4A95C7
square
#BA4AC7 #C77B4A #57C74A #4A95C7
split-complementary
#BA4AC7 #95C74A #4AC77B
monochromatic
#6B2473 #9632A2 #BA4AC7 #CC79D5 #DEA7E4

Accessibility & contrast

On white

4.29
#BA4AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#BA4AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4AC7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4AC7#FFFFFF#000000##000000
##BA4AC71.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3072CB
Deuteranopia (green-blind)
#5D7FC4
Tritanopia (blue-blind)
#BD5D82
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba4ac7;
/* rgb */ color: rgb(186, 74, 199);
/* oklch */ color: oklch(60.6% 0.207 323.4);
Tailwind
colors: {
  custom: {
    50: '#d284d8',
    500: '#ba4ac7',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ac7;
$custom-light: #d284d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ac7",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 199
  },
  "hsl": {
    "h": 293.76,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60593,
    "c": 0.20687,
    "h": 323.4
  },
  "luminance": 0.1946
}

Semantic roles & 50–950 ramp

primary
#BA4AC7
secondary
#A1D19C
accent
#DC4C5B
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA4AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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