#BB36BC#BB36BC

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

Color values

HEX#BB36BC
RGBrgb(187, 54, 188)
HSLhsl(300, 55%, 47%)
HSVhsv(300, 71%, 74%)
CMYKcmyk(0.5%, 71.3%, 0%, 26.3%)
CIE-LABlab(48.05, 67.67, -43.03)
CIE-LCHlch(48.05, 80.19, 327.55°)
OKLaboklab(58.15% 0.1883 -0.1192)
OKLCHoklch(58.15% 0.223 327.7)
XYZxyz(30.8894, 16.8362, 49.1900)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB36BC #37BC36
analogous
#7836BC #BB36BC #BC367A
triadic
#BB36BC #BCBB36 #36BCBB
tetradic
#BB36BC #BC7836 #37BC36 #367ABC
square
#BB36BC #BC7836 #37BC36 #367ABC
split-complementary
#BB36BC #7ABC36 #36BC78
monochromatic
#5C1B5D #8C288C #BB36BC #D05ED1 #DE8EDF

Accessibility & contrast

On white

4.81
#BB36BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#BB36BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB36BC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB36BC#FFFFFF#000000##FFFFFF
##BB36BC1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C67C0
Deuteranopia (green-blind)
#5978B9
Tritanopia (blue-blind)
#C14B76
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bb36bc;
/* rgb */ color: rgb(187, 54, 188);
/* oklch */ color: oklch(58.1% 0.223 327.7);
Tailwind
colors: {
  custom: {
    50: '#d37ad1',
    500: '#bb36bc',
    950: '#000000',
  },
}
SCSS
$custom: #bb36bc;
$custom-light: #d37ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb36bc",
  "rgb": {
    "r": 187,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 299.552,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58147,
    "c": 0.22289,
    "h": 327.7
  },
  "luminance": 0.16834
}

Semantic roles & 50–950 ramp

primary
#BB36BC
secondary
#85C985
accent
#DF494A
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BB36BC

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

Preview Lab → · Contrast checker → · Palette generator →

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