#BA32B3#BA32B3

#BA32B3 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.2% C 0.220 H 330.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BA32B3
RGBrgb(186, 50, 179)
HSLhsl(303, 58%, 46%)
HSVhsv(303, 73%, 73%)
CMYKcmyk(0%, 73.1%, 3.8%, 27.1%)
CIE-LABlab(46.94, 67.32, -39.53)
CIE-LCHlch(46.94, 78.07, 329.58°)
OKLaboklab(57.17% 0.1909 -0.1091)
OKLCHoklch(57.17% 0.22 330.3)
XYZxyz(29.5269, 15.9773, 44.1679)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA32B3 #32BA39
analogous
#7D32BA #BA32B3 #BA326F
triadic
#BA32B3 #B3BA32 #32B3BA
tetradic
#BA32B3 #BA7D32 #32BA39 #326FBA
square
#BA32B3 #BA7D32 #32BA39 #326FBA
split-complementary
#BA32B3 #6FBA32 #32BA7D
monochromatic
#5A1856 #8A2585 #BA32B3 #D257CC #DF88DA

Accessibility & contrast

On white

5.01
#BA32B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#BA32B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA32B3
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA32B3#FFFFFF#000000##FFFFFF
##BA32B31.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2263B7
Deuteranopia (green-blind)
#5B76B0
Tritanopia (blue-blind)
#C14470
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba32b3;
/* rgb */ color: rgb(186, 50, 179);
/* oklch */ color: oklch(57.2% 0.220 330.3);
Tailwind
colors: {
  custom: {
    50: '#d378ca',
    500: '#ba32b3',
    950: '#000000',
  },
}
SCSS
$custom: #ba32b3;
$custom-light: #d378ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ba32b3",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 303.088,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57165,
    "c": 0.21986,
    "h": 330.3
  },
  "luminance": 0.15975
}

Semantic roles & 50–950 ramp

primary
#BA32B3
secondary
#7FC983
accent
#E14F47
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA32B3

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

Preview Lab → · Contrast checker → · Palette generator →

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