#BB36A6#BB36A6

#BB36A6 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.0% C 0.207 H 335.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BB36A6
RGBrgb(187, 54, 166)
HSLhsl(309, 55%, 47%)
HSVhsv(309, 71%, 73%)
CMYKcmyk(0%, 71.1%, 11.2%, 26.7%)
CIE-LABlab(46.92, 64.22, -31.88)
CIE-LCHlch(46.92, 71.70, 333.60°)
OKLaboklab(56.97% 0.1873 -0.087)
OKLCHoklch(56.97% 0.207 335.1)
XYZxyz(28.6959, 15.9588, 37.6380)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB36A6 #36BB4B
analogous
#8E36BB #BB36A6 #BB3663
triadic
#BB36A6 #A6BB36 #36A6BB
tetradic
#BB36A6 #BB8E36 #36BB4B #3663BB
square
#BB36A6 #BB8E36 #36BB4B #3663BB
split-complementary
#BB36A6 #63BB36 #36BB8E
monochromatic
#5C1B52 #8C287C #BB36A6 #D05EBE #DE8DD1

Accessibility & contrast

On white

5.01
#BB36A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#BB36A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB36A6
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB36A6#FFFFFF#000000##FFFFFF
##BB36A61.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3663A9
Deuteranopia (green-blind)
#6476A3
Tritanopia (blue-blind)
#C4406A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb36a6;
/* rgb */ color: rgb(187, 54, 166);
/* oklch */ color: oklch(57.0% 0.207 335.1);
Tailwind
colors: {
  custom: {
    50: '#d379c1',
    500: '#bb36a6',
    950: '#000000',
  },
}
SCSS
$custom: #bb36a6;
$custom-light: #d379c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb36a6",
  "rgb": {
    "r": 187,
    "g": 54,
    "b": 166
  },
  "hsl": {
    "h": 309.474,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56966,
    "c": 0.20651,
    "h": 335.1
  },
  "luminance": 0.15956
}

Semantic roles & 50–950 ramp

primary
#BB36A6
secondary
#84C98F
accent
#DF6149
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB36A6

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

Preview Lab → · Contrast checker → · Palette generator →

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