#BB36A8#BB36A8

#BB36A8 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.1% C 0.208 H 334.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#BB36A8
RGBrgb(187, 54, 168)
HSLhsl(309, 55%, 47%)
HSVhsv(309, 71%, 73%)
CMYKcmyk(0%, 71.1%, 10.2%, 26.7%)
CIE-LABlab(47.02, 64.52, -32.91)
CIE-LCHlch(47.02, 72.43, 332.97°)
OKLaboklab(57.07% 0.1875 -0.09)
OKLCHoklch(57.07% 0.208 334.4)
XYZxyz(28.8808, 16.0327, 38.6118)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB36A8 #36BB49
analogous
#8B36BB #BB36A8 #BB3666
triadic
#BB36A8 #A8BB36 #36A8BB
tetradic
#BB36A8 #BB8B36 #36BB49 #3666BB
square
#BB36A8 #BB8B36 #36BB49 #3666BB
split-complementary
#BB36A8 #66BB36 #36BB8B
monochromatic
#5C1B53 #8C287D #BB36A8 #D05EC0 #DE8DD3

Accessibility & contrast

On white

4.99
#BB36A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#BB36A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB36A8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB36A8#FFFFFF#000000##FFFFFF
##BB36A81.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3463AB
Deuteranopia (green-blind)
#6376A5
Tritanopia (blue-blind)
#C4416B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb36a8;
/* rgb */ color: rgb(187, 54, 168);
/* oklch */ color: oklch(57.1% 0.208 334.4);
Tailwind
colors: {
  custom: {
    50: '#d379c2',
    500: '#bb36a8',
    950: '#000000',
  },
}
SCSS
$custom: #bb36a8;
$custom-light: #d379c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb36a8",
  "rgb": {
    "r": 187,
    "g": 54,
    "b": 168
  },
  "hsl": {
    "h": 308.571,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57067,
    "c": 0.20794,
    "h": 334.4
  },
  "luminance": 0.1603
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB36A8

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

Preview Lab → · Contrast checker → · Palette generator →

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