#BB36BB#BB36BB

#BB36BB is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.1% C 0.222 H 328.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#BB36BB
RGBrgb(187, 54, 187)
HSLhsl(300, 55%, 47%)
HSVhsv(300, 71%, 73%)
CMYKcmyk(0%, 71.1%, 0%, 26.7%)
CIE-LABlab(48.00, 67.51, -42.53)
CIE-LCHlch(48.00, 79.79, 327.79°)
OKLaboklab(58.09% 0.1883 -0.1178)
OKLCHoklch(58.09% 0.222 328)
XYZxyz(30.7819, 16.7932, 48.6242)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB36BB #36BB36
analogous
#7936BB #BB36BB #BB3679
triadic
#BB36BB #BBBB36 #36BBBB
tetradic
#BB36BB #BB7936 #36BB36 #3679BB
square
#BB36BB #BB7936 #36BB36 #3679BB
split-complementary
#BB36BB #79BB36 #36BB79
monochromatic
#5C1B5C #8C288C #BB36BB #D05ED0 #DE8DDE

Accessibility & contrast

On white

4.82
#BB36BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#BB36BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB36BB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB36BB#FFFFFF#000000##FFFFFF
##BB36BB1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67BF
Deuteranopia (green-blind)
#5978B8
Tritanopia (blue-blind)
#C14A75
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bb36bb;
/* rgb */ color: rgb(187, 54, 187);
/* oklch */ color: oklch(58.1% 0.222 328.0);
Tailwind
colors: {
  custom: {
    50: '#d37ad0',
    500: '#bb36bb',
    950: '#000000',
  },
}
SCSS
$custom: #bb36bb;
$custom-light: #d37ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb36bb",
  "rgb": {
    "r": 187,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 300,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58091,
    "c": 0.22212,
    "h": 328
  },
  "luminance": 0.16791
}

Semantic roles & 50–950 ramp

primary
#BB36BB
secondary
#84C984
accent
#DF4949
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BB36BB

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

Preview Lab → · Contrast checker → · Palette generator →

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