#BB32B1#BB32B1

#BB32B1 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.2% C 0.219 H 331.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BB32B1
RGBrgb(187, 50, 177)
HSLhsl(304, 58%, 46%)
HSVhsv(304, 73%, 73%)
CMYKcmyk(0%, 73.3%, 5.3%, 26.7%)
CIE-LABlab(47.00, 67.23, -38.24)
CIE-LCHlch(47.00, 77.34, 330.37°)
OKLaboklab(57.21% 0.1919 -0.1053)
OKLCHoklch(57.21% 0.219 331.2)
XYZxyz(29.5699, 16.0227, 43.1217)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB32B1 #32BB3C
analogous
#8132BB #BB32B1 #BB326C
triadic
#BB32B1 #B1BB32 #32B1BB
tetradic
#BB32B1 #BB8132 #32BB3C #326CBB
square
#BB32B1 #BB8132 #32BB3C #326CBB
split-complementary
#BB32B1 #6CBB32 #32BB81
monochromatic
#5A1856 #8B2583 #BB32B1 #D258C9 #DF88D9

Accessibility & contrast

On white

5.00
#BB32B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#BB32B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB32B1
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB32B1#FFFFFF#000000##FFFFFF
##BB32B11.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2663B4
Deuteranopia (green-blind)
#5D76AE
Tritanopia (blue-blind)
#C3436F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb32b1;
/* rgb */ color: rgb(187, 50, 177);
/* oklch */ color: oklch(57.2% 0.219 331.2);
Tailwind
colors: {
  custom: {
    50: '#d378c9',
    500: '#bb32b1',
    950: '#000000',
  },
}
SCSS
$custom: #bb32b1;
$custom-light: #d378c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb32b1",
  "rgb": {
    "r": 187,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 304.38,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57205,
    "c": 0.21889,
    "h": 331.2
  },
  "luminance": 0.1602
}

Semantic roles & 50–950 ramp

primary
#BB32B1
secondary
#80C985
accent
#E15247
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB32B1

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

Preview Lab → · Contrast checker → · Palette generator →

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