#BA32AF#BA32AF

#BA32AF is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.9% C 0.217 H 331.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#BA32AF
RGBrgb(186, 50, 175)
HSLhsl(305, 58%, 46%)
HSVhsv(305, 73%, 73%)
CMYKcmyk(0%, 73.1%, 5.9%, 27.1%)
CIE-LABlab(46.73, 66.69, -37.50)
CIE-LCHlch(46.73, 76.52, 330.65°)
OKLaboklab(56.95% 0.1908 -0.1032)
OKLCHoklch(56.95% 0.217 331.6)
XYZxyz(29.1282, 15.8178, 42.0681)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA32AF #32BA3D
analogous
#8132BA #BA32AF #BA326B
triadic
#BA32AF #AFBA32 #32AFBA
tetradic
#BA32AF #BA8132 #32BA3D #326BBA
square
#BA32AF #BA8132 #32BA3D #326BBA
split-complementary
#BA32AF #6BBA32 #32BA81
monochromatic
#5A1854 #8A2582 #BA32AF #D257C8 #DF88D8

Accessibility & contrast

On white

5.04
#BA32AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#BA32AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA32AF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA32AF#FFFFFF#000000##FFFFFF
##BA32AF1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2763B2
Deuteranopia (green-blind)
#5D75AC
Tritanopia (blue-blind)
#C2426E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba32af;
/* rgb */ color: rgb(186, 50, 175);
/* oklch */ color: oklch(56.9% 0.217 331.6);
Tailwind
colors: {
  custom: {
    50: '#d378c7',
    500: '#ba32af',
    950: '#000000',
  },
}
SCSS
$custom: #ba32af;
$custom-light: #d378c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba32af",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 304.853,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56946,
    "c": 0.21691,
    "h": 331.6
  },
  "luminance": 0.15815
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA32AF

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

Preview Lab → · Contrast checker → · Palette generator →

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