#BB37A7#BB37A7

#BB37A7 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.1% C 0.206 H 334.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#BB37A7
RGBrgb(187, 55, 167)
HSLhsl(309, 55%, 47%)
HSVhsv(309, 71%, 73%)
CMYKcmyk(0%, 70.6%, 10.7%, 26.7%)
CIE-LABlab(47.09, 64.02, -32.20)
CIE-LCHlch(47.09, 71.66, 333.30°)
OKLaboklab(57.11% 0.1863 -0.088)
OKLCHoklch(57.11% 0.206 334.7)
XYZxyz(28.8351, 16.0897, 38.1387)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB37A7 #37BB4B
analogous
#8D37BB #BB37A7 #BB3765
triadic
#BB37A7 #A7BB37 #37A7BB
tetradic
#BB37A7 #BB8D37 #37BB4B #3765BB
square
#BB37A7 #BB8D37 #37BB4B #3765BB
split-complementary
#BB37A7 #65BB37 #37BB8D
monochromatic
#5C1B53 #8C297D #BB37A7 #D05FBF #DE8ED2

Accessibility & contrast

On white

4.98
#BB37A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#BB37A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB37A7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB37A7#FFFFFF#000000##FFFFFF
##BB37A71.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3663AA
Deuteranopia (green-blind)
#6477A4
Tritanopia (blue-blind)
#C4416B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bb37a7;
/* rgb */ color: rgb(187, 55, 167);
/* oklch */ color: oklch(57.1% 0.206 334.7);
Tailwind
colors: {
  custom: {
    50: '#d37ac1',
    500: '#bb37a7',
    950: '#000000',
  },
}
SCSS
$custom: #bb37a7;
$custom-light: #d37ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb37a7",
  "rgb": {
    "r": 187,
    "g": 55,
    "b": 167
  },
  "hsl": {
    "h": 309.091,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57105,
    "c": 0.20607,
    "h": 334.7
  },
  "luminance": 0.16087
}

Semantic roles & 50–950 ramp

primary
#BB37A7
secondary
#85C98F
accent
#DE604A
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB37A7

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

Preview Lab → · Contrast checker → · Palette generator →

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