#BB36B7#BB36B7

#BB36B7 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.9% C 0.219 H 329.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BB36B7
RGBrgb(187, 54, 183)
HSLhsl(302, 55%, 47%)
HSVhsv(302, 71%, 73%)
CMYKcmyk(0%, 71.1%, 2.1%, 26.7%)
CIE-LABlab(47.78, 66.86, -40.53)
CIE-LCHlch(47.78, 78.19, 328.77°)
OKLaboklab(57.87% 0.1883 -0.112)
OKLCHoklch(57.87% 0.219 329.3)
XYZxyz(30.3597, 16.6243, 46.4004)
Luminance0.1662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB36B7 #36BB3A
analogous
#7D36BB #BB36B7 #BB3674
triadic
#BB36B7 #B7BB36 #36B7BB
tetradic
#BB36B7 #BB7D36 #36BB3A #3674BB
square
#BB36B7 #BB7D36 #36BB3A #3674BB
split-complementary
#BB36B7 #74BB36 #36BB7D
monochromatic
#5C1B5A #8C2889 #BB36B7 #D05ECD #DE8DDC

Accessibility & contrast

On white

4.86
#BB36B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB36B7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB36B7#FFFFFF#000000##FFFFFF
##BB36B71.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2466BB
Deuteranopia (green-blind)
#5C78B4
Tritanopia (blue-blind)
#C24873
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bb36b7;
/* rgb */ color: rgb(187, 54, 183);
/* oklch */ color: oklch(57.9% 0.219 329.3);
Tailwind
colors: {
  custom: {
    50: '#d37acd',
    500: '#bb36b7',
    950: '#000000',
  },
}
SCSS
$custom: #bb36b7;
$custom-light: #d37acd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb36b7",
  "rgb": {
    "r": 187,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 301.805,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57867,
    "c": 0.21906,
    "h": 329.3
  },
  "luminance": 0.16622
}

Semantic roles & 50–950 ramp

primary
#BB36B7
secondary
#84C986
accent
#DF4E49
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB36B7

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

Preview Lab → · Contrast checker → · Palette generator →

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