#BA32A5#BA32A5

#BA32A5 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.4% C 0.210 H 335.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BA32A5
RGBrgb(186, 50, 165)
HSLhsl(309, 58%, 46%)
HSVhsv(309, 73%, 73%)
CMYKcmyk(0%, 73.1%, 11.3%, 27.1%)
CIE-LABlab(46.23, 65.18, -32.38)
CIE-LCHlch(46.23, 72.78, 333.58°)
OKLaboklab(56.42% 0.1902 -0.0885)
OKLCHoklch(56.42% 0.21 335.1)
XYZxyz(28.1822, 15.4394, 37.0859)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA32A5 #32BA47
analogous
#8B32BA #BA32A5 #BA3261
triadic
#BA32A5 #A5BA32 #32A5BA
tetradic
#BA32A5 #BA8B32 #32BA47 #3261BA
square
#BA32A5 #BA8B32 #32BA47 #3261BA
split-complementary
#BA32A5 #61BA32 #32BA8B
monochromatic
#5A184F #8A257A #BA32A5 #D257BF #DF88D1

Accessibility & contrast

On white

5.14
#BA32A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#BA32A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA32A5
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA32A5#FFFFFF#000000##FFFFFF
##BA32A51.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3161A8
Deuteranopia (green-blind)
#6275A2
Tritanopia (blue-blind)
#C33D68
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba32a5;
/* rgb */ color: rgb(186, 50, 165);
/* oklch */ color: oklch(56.4% 0.210 335.1);
Tailwind
colors: {
  custom: {
    50: '#d377c0',
    500: '#ba32a5',
    950: '#000000',
  },
}
SCSS
$custom: #ba32a5;
$custom-light: #d377c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba32a5",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 165
  },
  "hsl": {
    "h": 309.265,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5642,
    "c": 0.20973,
    "h": 335.1
  },
  "luminance": 0.15437
}

Semantic roles & 50–950 ramp

primary
#BA32A5
secondary
#7FC98B
accent
#E15F47
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA32A5

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

Preview Lab → · Contrast checker → · Palette generator →

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