#BB36A7#BB36A7

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

Color values

HEX#BB36A7
RGBrgb(187, 54, 167)
HSLhsl(309, 55%, 47%)
HSVhsv(309, 71%, 73%)
CMYKcmyk(0%, 71.1%, 10.7%, 26.7%)
CIE-LABlab(46.97, 64.37, -32.40)
CIE-LCHlch(46.97, 72.06, 333.28°)
OKLaboklab(57.02% 0.1874 -0.0885)
OKLCHoklch(57.02% 0.207 334.7)
XYZxyz(28.7880, 15.9956, 38.1230)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB36A7 #36BB4A
analogous
#8D36BB #BB36A7 #BB3664
triadic
#BB36A7 #A7BB36 #36A7BB
tetradic
#BB36A7 #BB8D36 #36BB4A #3664BB
square
#BB36A7 #BB8D36 #36BB4A #3664BB
split-complementary
#BB36A7 #64BB36 #36BB8D
monochromatic
#5C1B52 #8C287D #BB36A7 #D05EBF #DE8DD2

Accessibility & contrast

On white

5.00
#BB36A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#BB36A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB36A7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB36A7#FFFFFF#000000##FFFFFF
##BB36A71.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3563AA
Deuteranopia (green-blind)
#6476A4
Tritanopia (blue-blind)
#C4416A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb36a7;
/* rgb */ color: rgb(187, 54, 167);
/* oklch */ color: oklch(57.0% 0.207 334.7);
Tailwind
colors: {
  custom: {
    50: '#d379c1',
    500: '#bb36a7',
    950: '#000000',
  },
}
SCSS
$custom: #bb36a7;
$custom-light: #d379c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb36a7",
  "rgb": {
    "r": 187,
    "g": 54,
    "b": 167
  },
  "hsl": {
    "h": 309.023,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57016,
    "c": 0.20722,
    "h": 334.7
  },
  "luminance": 0.15993
}

Semantic roles & 50–950 ramp

primary
#BB36A7
secondary
#84C98E
accent
#DF6049
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB36A7

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

Preview Lab → · Contrast checker → · Palette generator →

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