#BA4AC8#BA4AC8

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

Color values

HEX#BA4AC8
RGBrgb(186, 74, 200)
HSLhsl(293, 53%, 54%)
HSVhsv(293, 63%, 78%)
CMYKcmyk(7%, 63%, 0%, 21.6%)
CIE-LABlab(51.28, 61.87, -44.87)
CIE-LCHlch(51.28, 76.43, 324.05°)
OKLaboklab(60.65% 0.1661 -0.1247)
OKLCHoklch(60.65% 0.208 323.1)
XYZxyz(33.1228, 19.5086, 56.6532)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4AC8 #58C84A
analogous
#7B4AC8 #BA4AC8 #C84A97
triadic
#BA4AC8 #C8BA4A #4AC8BA
tetradic
#BA4AC8 #C87B4A #58C84A #4A97C8
square
#BA4AC8 #C87B4A #58C84A #4A97C8
split-complementary
#BA4AC8 #97C84A #4AC87B
monochromatic
#6B2374 #9732A3 #BA4AC8 #CC79D6 #DEA8E5

Accessibility & contrast

On white

4.28
#BA4AC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#BA4AC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4AC8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4AC8#FFFFFF#000000##000000
##BA4AC81.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F72CC
Deuteranopia (green-blind)
#5C7FC5
Tritanopia (blue-blind)
#BD5D83
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba4ac8;
/* rgb */ color: rgb(186, 74, 200);
/* oklch */ color: oklch(60.6% 0.208 323.1);
Tailwind
colors: {
  custom: {
    50: '#d284d9',
    500: '#ba4ac8',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ac8;
$custom-light: #d284d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ac8",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 293.333,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60649,
    "c": 0.20775,
    "h": 323.1
  },
  "luminance": 0.19507
}

Semantic roles & 50–950 ramp

primary
#BA4AC8
secondary
#A2D29C
accent
#DD4B5B
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B15
muted
#837C83

Preview Lab

Preview with #BA4AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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