#BA3AC9#BA3AC9

#BA3AC9 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.1% C 0.228 H 323.3°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BA3AC9
RGBrgb(186, 58, 201)
HSLhsl(294, 57%, 51%)
HSVhsv(294, 71%, 79%)
CMYKcmyk(7.5%, 71.1%, 0%, 21.2%)
CIE-LABlab(49.11, 68.28, -48.89)
CIE-LCHlch(49.11, 83.98, 324.40°)
OKLaboklab(59.11% 0.1832 -0.1364)
OKLCHoklch(59.11% 0.228 323.3)
XYZxyz(32.3044, 17.6842, 56.9589)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3AC9 #49C93A
analogous
#723AC9 #BA3AC9 #C93A90
triadic
#BA3AC9 #C9BA3A #3AC9BA
tetradic
#BA3AC9 #C9723A #49C93A #3A90C9
square
#BA3AC9 #C9723A #49C93A #3A90C9
split-complementary
#BA3AC9 #90C93A #3AC972
monochromatic
#631D6B #8F2B9B #BA3AC9 #CB6AD6 #DC9AE3

Accessibility & contrast

On white

4.63
#BA3AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#BA3AC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3AC9
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3AC9#FFFFFF#000000##FFFFFF
##BA3AC91.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCD
Deuteranopia (green-blind)
#527AC6
Tritanopia (blue-blind)
#BD537E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba3ac9;
/* rgb */ color: rgb(186, 58, 201);
/* oklch */ color: oklch(59.1% 0.228 323.3);
Tailwind
colors: {
  custom: {
    50: '#d37cda',
    500: '#ba3ac9',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ac9;
$custom-light: #d37cda;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ac9",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 201
  },
  "hsl": {
    "h": 293.706,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59109,
    "c": 0.22835,
    "h": 323.3
  },
  "luminance": 0.17682
}

Semantic roles & 50–950 ramp

primary
#BA3AC9
secondary
#96CF90
accent
#E04858
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150A15
muted
#837C83

Preview Lab

Preview with #BA3AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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