#BA32B5#BA32B5

#BA32B5 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.3% C 0.221 H 329.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#BA32B5
RGBrgb(186, 50, 181)
HSLhsl(302, 58%, 46%)
HSVhsv(302, 73%, 73%)
CMYKcmyk(0%, 73.1%, 2.7%, 27.1%)
CIE-LABlab(47.05, 67.64, -40.53)
CIE-LCHlch(47.05, 78.85, 329.07°)
OKLaboklab(57.28% 0.1909 -0.112)
OKLCHoklch(57.28% 0.221 329.6)
XYZxyz(29.7306, 16.0588, 45.2409)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA32B5 #32BA37
analogous
#7B32BA #BA32B5 #BA3271
triadic
#BA32B5 #B5BA32 #32B5BA
tetradic
#BA32B5 #BA7B32 #32BA37 #3271BA
square
#BA32B5 #BA7B32 #32BA37 #3271BA
split-complementary
#BA32B5 #71BA32 #32BA7B
monochromatic
#5A1857 #8A2586 #BA32B5 #D257CD #DF88DC

Accessibility & contrast

On white

4.99
#BA32B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#BA32B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA32B5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA32B5#FFFFFF#000000##FFFFFF
##BA32B51.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F64B9
Deuteranopia (green-blind)
#5A76B2
Tritanopia (blue-blind)
#C14571
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba32b5;
/* rgb */ color: rgb(186, 50, 181);
/* oklch */ color: oklch(57.3% 0.221 329.6);
Tailwind
colors: {
  custom: {
    50: '#d378cb',
    500: '#ba32b5',
    950: '#000000',
  },
}
SCSS
$custom: #ba32b5;
$custom-light: #d378cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba32b5",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 302.206,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57276,
    "c": 0.22135,
    "h": 329.6
  },
  "luminance": 0.16057
}

Semantic roles & 50–950 ramp

primary
#BA32B5
secondary
#7FC982
accent
#E14D47
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA32B5

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

Preview Lab → · Contrast checker → · Palette generator →

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