#BA32BD#BA32BD

#BA32BD is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.7% C 0.227 H 327.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BA32BD
RGBrgb(186, 50, 189)
HSLhsl(299, 58%, 47%)
HSVhsv(299, 74%, 74%)
CMYKcmyk(1.6%, 73.5%, 0%, 25.9%)
CIE-LABlab(47.49, 68.93, -44.51)
CIE-LCHlch(47.49, 82.05, 327.15°)
OKLaboklab(57.73% 0.1909 -0.1235)
OKLCHoklch(57.73% 0.227 327.1)
XYZxyz(30.5751, 16.3966, 49.6887)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA32BD #35BD32
analogous
#7532BD #BA32BD #BD327B
triadic
#BA32BD #BDBA32 #32BDBA
tetradic
#BA32BD #BD7532 #35BD32 #327BBD
square
#BA32BD #BD7532 #35BD32 #327BBD
split-complementary
#BA32BD #7BBD32 #32BD75
monochromatic
#5B185C #8A258D #BA32BD #D059D3 #DE89E0

Accessibility & contrast

On white

4.91
#BA32BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#BA32BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA32BD
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA32BD#FFFFFF#000000##FFFFFF
##BA32BD1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D66C1
Deuteranopia (green-blind)
#5577BA
Tritanopia (blue-blind)
#BF4975
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba32bd;
/* rgb */ color: rgb(186, 50, 189);
/* oklch */ color: oklch(57.7% 0.227 327.1);
Tailwind
colors: {
  custom: {
    50: '#d378d1',
    500: '#ba32bd',
    950: '#000000',
  },
}
SCSS
$custom: #ba32bd;
$custom-light: #d378d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba32bd",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 189
  },
  "hsl": {
    "h": 298.705,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57732,
    "c": 0.22741,
    "h": 327.1
  },
  "luminance": 0.16394
}

Semantic roles & 50–950 ramp

primary
#BA32BD
secondary
#82CA81
accent
#E1464A
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BA32BD

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

Preview Lab → · Contrast checker → · Palette generator →

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