#BB37B6#BB37B6

#BB37B6 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.9% C 0.217 H 329.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#BB37B6
RGBrgb(187, 55, 182)
HSLhsl(302, 55%, 47%)
HSVhsv(302, 71%, 73%)
CMYKcmyk(0%, 70.6%, 2.7%, 26.7%)
CIE-LABlab(47.85, 66.36, -39.84)
CIE-LCHlch(47.85, 77.40, 329.02°)
OKLaboklab(57.9% 0.1873 -0.11)
OKLCHoklch(57.9% 0.217 329.6)
XYZxyz(30.3030, 16.6768, 45.8698)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB37B6 #37BB3C
analogous
#7E37BB #BB37B6 #BB3774
triadic
#BB37B6 #B6BB37 #37B6BB
tetradic
#BB37B6 #BB7E37 #37BB3C #3774BB
square
#BB37B6 #BB7E37 #37BB3C #3774BB
split-complementary
#BB37B6 #74BB37 #37BB7E
monochromatic
#5C1B5A #8C2988 #BB37B6 #D05FCC #DE8EDB

Accessibility & contrast

On white

4.84
#BB37B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#BB37B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB37B6
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB37B6#FFFFFF#000000##FFFFFF
##BB37B61.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2766BA
Deuteranopia (green-blind)
#5D78B3
Tritanopia (blue-blind)
#C24873
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bb37b6;
/* rgb */ color: rgb(187, 55, 182);
/* oklch */ color: oklch(57.9% 0.217 329.6);
Tailwind
colors: {
  custom: {
    50: '#d37acc',
    500: '#bb37b6',
    950: '#000000',
  },
}
SCSS
$custom: #bb37b6;
$custom-light: #d37acc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb37b6",
  "rgb": {
    "r": 187,
    "g": 55,
    "b": 182
  },
  "hsl": {
    "h": 302.273,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57898,
    "c": 0.21718,
    "h": 329.6
  },
  "luminance": 0.16675
}

Semantic roles & 50–950 ramp

primary
#BB37B6
secondary
#85C988
accent
#DE504A
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB37B6

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

Preview Lab → · Contrast checker → · Palette generator →

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