#BB37A6#BB37A6

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

Color values

HEX#BB37A6
RGBrgb(187, 55, 166)
HSLhsl(310, 55%, 47%)
HSVhsv(310, 71%, 73%)
CMYKcmyk(0%, 70.6%, 11.2%, 26.7%)
CIE-LABlab(47.04, 63.87, -31.69)
CIE-LCHlch(47.04, 71.30, 333.61°)
OKLaboklab(57.06% 0.1862 -0.0865)
OKLCHoklch(57.06% 0.205 335.1)
XYZxyz(28.7430, 16.0528, 37.6537)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB37A6 #37BB4C
analogous
#8E37BB #BB37A6 #BB3764
triadic
#BB37A6 #A6BB37 #37A6BB
tetradic
#BB37A6 #BB8E37 #37BB4C #3764BB
square
#BB37A6 #BB8E37 #37BB4C #3764BB
split-complementary
#BB37A6 #64BB37 #37BB8E
monochromatic
#5C1B52 #8C297C #BB37A6 #D05FBE #DE8ED1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB37A6#FFFFFF#000000##FFFFFF
##BB37A61.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)
#3763A9
Deuteranopia (green-blind)
#6477A3
Tritanopia (blue-blind)
#C4416A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bb37a6;
/* rgb */ color: rgb(187, 55, 166);
/* oklch */ color: oklch(57.1% 0.205 335.1);
Tailwind
colors: {
  custom: {
    50: '#d37ac1',
    500: '#bb37a6',
    950: '#000000',
  },
}
SCSS
$custom: #bb37a6;
$custom-light: #d37ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb37a6",
  "rgb": {
    "r": 187,
    "g": 55,
    "b": 166
  },
  "hsl": {
    "h": 309.545,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57055,
    "c": 0.20535,
    "h": 335.1
  },
  "luminance": 0.1605
}

Semantic roles & 50–950 ramp

primary
#BB37A6
secondary
#85C990
accent
#DE614A
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB37A6

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

Preview Lab → · Contrast checker → · Palette generator →

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