#BB36B1#BB36B1

#BB36B1 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.5% C 0.215 H 331.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BB36B1
RGBrgb(187, 54, 177)
HSLhsl(305, 55%, 47%)
HSVhsv(305, 71%, 73%)
CMYKcmyk(0%, 71.1%, 5.3%, 26.7%)
CIE-LABlab(47.47, 65.91, -37.51)
CIE-LCHlch(47.47, 75.83, 330.35°)
OKLaboklab(57.54% 0.1881 -0.1032)
OKLCHoklch(57.54% 0.215 331.2)
XYZxyz(29.7485, 16.3798, 43.1813)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB36B1 #36BB40
analogous
#8236BB #BB36B1 #BB366F
triadic
#BB36B1 #B1BB36 #36B1BB
tetradic
#BB36B1 #BB8236 #36BB40 #366FBB
square
#BB36B1 #BB8236 #36BB40 #366FBB
split-complementary
#BB36B1 #6FBB36 #36BB82
monochromatic
#5C1B57 #8C2884 #BB36B1 #D05EC8 #DE8DD8

Accessibility & contrast

On white

4.91
#BB36B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#BB36B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB36B1
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB36B1#FFFFFF#000000##FFFFFF
##BB36B11.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B65B4
Deuteranopia (green-blind)
#5F77AE
Tritanopia (blue-blind)
#C24570
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bb36b1;
/* rgb */ color: rgb(187, 54, 177);
/* oklch */ color: oklch(57.5% 0.215 331.2);
Tailwind
colors: {
  custom: {
    50: '#d379c9',
    500: '#bb36b1',
    950: '#000000',
  },
}
SCSS
$custom: #bb36b1;
$custom-light: #d379c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb36b1",
  "rgb": {
    "r": 187,
    "g": 54,
    "b": 177
  },
  "hsl": {
    "h": 304.511,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57539,
    "c": 0.21453,
    "h": 331.2
  },
  "luminance": 0.16377
}

Semantic roles & 50–950 ramp

primary
#BB36B1
secondary
#84C989
accent
#DF5549
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB36B1

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

Preview Lab → · Contrast checker → · Palette generator →

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