#B32AA1#B32AA1

#B32AA1 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.5% C 0.211 H 334.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B32AA1
RGBrgb(179, 42, 161)
HSLhsl(308, 62%, 43%)
HSVhsv(308, 77%, 70%)
CMYKcmyk(0%, 76.5%, 10.1%, 29.8%)
CIE-LABlab(43.97, 65.48, -33.63)
CIE-LCHlch(43.97, 73.61, 332.81°)
OKLaboklab(54.5% 0.1903 -0.0922)
OKLCHoklch(54.5% 0.211 334.2)
XYZxyz(25.8517, 13.8151, 35.0164)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B32AA1 #2AB33C
analogous
#802AB3 #B32AA1 #B32A5C
triadic
#B32AA1 #A1B32A #2AA1B3
tetradic
#B32AA1 #B3802A #2AB33C #2A5CB3
square
#B32AA1 #B3802A #2AB33C #2A5CB3
split-complementary
#B32AA1 #5CB32A #2AB380
monochromatic
#501348 #811E74 #B32AA1 #D446C1 #DF78D2

Accessibility & contrast

On white

5.58
#B32AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B32AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B32AA1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B32AA1#FFFFFF#000000##FFFFFF
##B32AA11.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275BA4
Deuteranopia (green-blind)
#5B6F9E
Tritanopia (blue-blind)
#BC3764
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b32aa1;
/* rgb */ color: rgb(179, 42, 161);
/* oklch */ color: oklch(54.5% 0.211 334.2);
Tailwind
colors: {
  custom: {
    50: '#ce73bd',
    500: '#b32aa1',
    950: '#000000',
  },
}
SCSS
$custom: #b32aa1;
$custom-light: #ce73bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b32aa1",
  "rgb": {
    "r": 179,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 307.883,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54501,
    "c": 0.21141,
    "h": 334.2
  },
  "luminance": 0.13813
}

Semantic roles & 50–950 ramp

primary
#B32AA1
secondary
#72C77D
accent
#E55843
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B32AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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