#B32AB6#B32AB6

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

Color values

HEX#B32AB6
RGBrgb(179, 42, 182)
HSLhsl(299, 63%, 44%)
HSVhsv(299, 77%, 71%)
CMYKcmyk(1.6%, 76.9%, 0%, 28.6%)
CIE-LABlab(45.11, 68.75, -44.28)
CIE-LCHlch(45.11, 81.77, 327.22°)
OKLaboklab(55.68% 0.1904 -0.123)
OKLCHoklch(55.68% 0.227 327.1)
XYZxyz(27.8614, 14.6190, 45.6012)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B32AB6 #2DB62A
analogous
#6D2AB6 #B32AB6 #B62A73
triadic
#B32AB6 #B6B32A #2AB6B3
tetradic
#B32AB6 #B66D2A #2DB62A #2A73B6
square
#B32AB6 #B66D2A #2DB62A #2A73B6
split-complementary
#B32AB6 #73B62A #2AB66D
monochromatic
#511353 #821F84 #B32AB6 #D248D5 #DE7AE0

Accessibility & contrast

On white

5.35
#B32AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B32AB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B32AB6
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B32AB6#FFFFFF#000000##FFFFFF
##B32AB61.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BA
Deuteranopia (green-blind)
#4F71B3
Tritanopia (blue-blind)
#B8426F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b32ab6;
/* rgb */ color: rgb(179, 42, 182);
/* oklch */ color: oklch(55.7% 0.227 327.1);
Tailwind
colors: {
  custom: {
    50: '#ce74cc',
    500: '#b32ab6',
    950: '#000000',
  },
}
SCSS
$custom: #b32ab6;
$custom-light: #ce74cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b32ab6",
  "rgb": {
    "r": 179,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 298.714,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55685,
    "c": 0.2267,
    "h": 327.1
  },
  "luminance": 0.14617
}

Semantic roles & 50–950 ramp

primary
#B32AB6
secondary
#75C873
accent
#E64246
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B32AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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