#BA32C4#BA32C4

#BA32C4 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.1% C 0.233 H 325.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#BA32C4
RGBrgb(186, 50, 196)
HSLhsl(296, 59%, 48%)
HSVhsv(296, 74%, 77%)
CMYKcmyk(5.1%, 74.5%, 0%, 23.1%)
CIE-LABlab(47.89, 70.09, -47.95)
CIE-LCHlch(47.89, 84.92, 325.62°)
OKLaboklab(58.15% 0.1907 -0.1335)
OKLCHoklch(58.15% 0.233 325)
XYZxyz(31.3534, 16.7079, 53.7874)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA32C4 #3CC432
analogous
#7132C4 #BA32C4 #C43285
triadic
#BA32C4 #C4BA32 #32C4BA
tetradic
#BA32C4 #C47132 #3CC432 #3285C4
square
#BA32C4 #C47132 #3CC432 #3285C4
split-complementary
#BA32C4 #85C432 #32C471
monochromatic
#5D1962 #8C2693 #BA32C4 #CE5DD6 #DC8EE2

Accessibility & contrast

On white

4.84
#BA32C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#BA32C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA32C4
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA32C4#FFFFFF#000000##FFFFFF
##BA32C41.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#5177C1
Tritanopia (blue-blind)
#BE4C79
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba32c4;
/* rgb */ color: rgb(186, 50, 196);
/* oklch */ color: oklch(58.1% 0.233 325.0);
Tailwind
colors: {
  custom: {
    50: '#d378d6',
    500: '#ba32c4',
    950: '#000000',
  },
}
SCSS
$custom: #ba32c4;
$custom-light: #d378d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba32c4",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 196
  },
  "hsl": {
    "h": 295.89,
    "s": 59.35,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58145,
    "c": 0.23281,
    "h": 325
  },
  "luminance": 0.16706
}

Semantic roles & 50–950 ramp

primary
#BA32C4
secondary
#8ACD85
accent
#E34550
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA32C4

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

Preview Lab → · Contrast checker → · Palette generator →

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