#BA32B0#BA32B0

#BA32B0 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.0% C 0.218 H 331.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BA32B0
RGBrgb(186, 50, 176)
HSLhsl(304, 58%, 46%)
HSVhsv(304, 73%, 73%)
CMYKcmyk(0%, 73.1%, 5.4%, 27.1%)
CIE-LABlab(46.79, 66.85, -38.01)
CIE-LCHlch(46.79, 76.90, 330.38°)
OKLaboklab(57% 0.1908 -0.1047)
OKLCHoklch(57% 0.218 331.2)
XYZxyz(29.2268, 15.8572, 42.5873)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA32B0 #32BA3C
analogous
#8032BA #BA32B0 #BA326C
triadic
#BA32B0 #B0BA32 #32B0BA
tetradic
#BA32B0 #BA8032 #32BA3C #326CBA
square
#BA32B0 #BA8032 #32BA3C #326CBA
split-complementary
#BA32B0 #6CBA32 #32BA80
monochromatic
#5A1855 #8A2582 #BA32B0 #D257C9 #DF88D8

Accessibility & contrast

On white

5.03
#BA32B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#BA32B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA32B0
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA32B0#FFFFFF#000000##FFFFFF
##BA32B01.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2663B3
Deuteranopia (green-blind)
#5D76AD
Tritanopia (blue-blind)
#C2426E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba32b0;
/* rgb */ color: rgb(186, 50, 176);
/* oklch */ color: oklch(57.0% 0.218 331.2);
Tailwind
colors: {
  custom: {
    50: '#d378c8',
    500: '#ba32b0',
    950: '#000000',
  },
}
SCSS
$custom: #ba32b0;
$custom-light: #d378c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba32b0",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 176
  },
  "hsl": {
    "h": 304.412,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57001,
    "c": 0.21765,
    "h": 331.2
  },
  "luminance": 0.15855
}

Semantic roles & 50–950 ramp

primary
#BA32B0
secondary
#7FC985
accent
#E15247
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA32B0

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

Preview Lab → · Contrast checker → · Palette generator →

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