#BB36B2#BB36B2

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

Color values

HEX#BB36B2
RGBrgb(187, 54, 178)
HSLhsl(304, 55%, 47%)
HSVhsv(304, 71%, 73%)
CMYKcmyk(0%, 71.1%, 4.8%, 26.7%)
CIE-LABlab(47.52, 66.06, -38.02)
CIE-LCHlch(47.52, 76.22, 330.08°)
OKLaboklab(57.59% 0.1881 -0.1047)
OKLCHoklch(57.59% 0.215 330.9)
XYZxyz(29.8485, 16.4198, 43.7081)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB36B2 #36BB3F
analogous
#8136BB #BB36B2 #BB3670
triadic
#BB36B2 #B2BB36 #36B2BB
tetradic
#BB36B2 #BB8136 #36BB3F #3670BB
square
#BB36B2 #BB8136 #36BB3F #3670BB
split-complementary
#BB36B2 #70BB36 #36BB81
monochromatic
#5C1B58 #8C2885 #BB36B2 #D05EC9 #DE8DD9

Accessibility & contrast

On white

4.90
#BB36B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB36B2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB36B2#FFFFFF#000000##FFFFFF
##BB36B21.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A65B5
Deuteranopia (green-blind)
#5E77AF
Tritanopia (blue-blind)
#C24670
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bb36b2;
/* rgb */ color: rgb(187, 54, 178);
/* oklch */ color: oklch(57.6% 0.215 330.9);
Tailwind
colors: {
  custom: {
    50: '#d37ac9',
    500: '#bb36b2',
    950: '#000000',
  },
}
SCSS
$custom: #bb36b2;
$custom-light: #d37ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb36b2",
  "rgb": {
    "r": 187,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 304.06,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57593,
    "c": 0.21528,
    "h": 330.9
  },
  "luminance": 0.16417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB36B2

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

Preview Lab → · Contrast checker → · Palette generator →

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