#BB36B6#BB36B6

#BB36B6 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.8% C 0.218 H 329.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#BB36B6
RGBrgb(187, 54, 182)
HSLhsl(302, 55%, 47%)
HSVhsv(302, 71%, 73%)
CMYKcmyk(0%, 71.1%, 2.7%, 26.7%)
CIE-LABlab(47.73, 66.70, -40.03)
CIE-LCHlch(47.73, 77.79, 329.03°)
OKLaboklab(57.81% 0.1882 -0.1105)
OKLCHoklch(57.81% 0.218 329.6)
XYZxyz(30.2560, 16.5828, 45.8541)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB36B6 #36BB3B
analogous
#7E36BB #BB36B6 #BB3673
triadic
#BB36B6 #B6BB36 #36B6BB
tetradic
#BB36B6 #BB7E36 #36BB3B #3673BB
square
#BB36B6 #BB7E36 #36BB3B #3673BB
split-complementary
#BB36B6 #73BB36 #36BB7E
monochromatic
#5C1B5A #8C2888 #BB36B6 #D05ECC #DE8DDB

Accessibility & contrast

On white

4.87
#BB36B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#BB36B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB36B6
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB36B6#FFFFFF#000000##FFFFFF
##BB36B61.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2566BA
Deuteranopia (green-blind)
#5C78B3
Tritanopia (blue-blind)
#C24873
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bb36b6;
/* rgb */ color: rgb(187, 54, 182);
/* oklch */ color: oklch(57.8% 0.218 329.6);
Tailwind
colors: {
  custom: {
    50: '#d37acc',
    500: '#bb36b6',
    950: '#000000',
  },
}
SCSS
$custom: #bb36b6;
$custom-light: #d37acc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb36b6",
  "rgb": {
    "r": 187,
    "g": 54,
    "b": 182
  },
  "hsl": {
    "h": 302.256,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57811,
    "c": 0.2183,
    "h": 329.6
  },
  "luminance": 0.16581
}

Semantic roles & 50–950 ramp

primary
#BB36B6
secondary
#84C987
accent
#DF4F49
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB36B6

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

Preview Lab → · Contrast checker → · Palette generator →

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