#BB37B1#BB37B1

#BB37B1 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.6% C 0.213 H 331.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BB37B1
RGBrgb(187, 55, 177)
HSLhsl(305, 55%, 47%)
HSVhsv(305, 71%, 73%)
CMYKcmyk(0%, 70.6%, 5.3%, 26.7%)
CIE-LABlab(47.59, 65.56, -37.32)
CIE-LCHlch(47.59, 75.44, 330.35°)
OKLaboklab(57.63% 0.1871 -0.1027)
OKLCHoklch(57.63% 0.213 331.2)
XYZxyz(29.7955, 16.4738, 43.1969)
Luminance0.1647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB37B1 #37BB41
analogous
#8337BB #BB37B1 #BB376F
triadic
#BB37B1 #B1BB37 #37B1BB
tetradic
#BB37B1 #BB8337 #37BB41 #376FBB
square
#BB37B1 #BB8337 #37BB41 #376FBB
split-complementary
#BB37B1 #6FBB37 #37BB83
monochromatic
#5C1B57 #8C2984 #BB37B1 #D05FC7 #DE8ED8

Accessibility & contrast

On white

4.89
#BB37B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#BB37B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB37B1
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB37B1#FFFFFF#000000##FFFFFF
##BB37B11.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D65B4
Deuteranopia (green-blind)
#5F77AE
Tritanopia (blue-blind)
#C24670
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bb37b1;
/* rgb */ color: rgb(187, 55, 177);
/* oklch */ color: oklch(57.6% 0.213 331.2);
Tailwind
colors: {
  custom: {
    50: '#d37ac9',
    500: '#bb37b1',
    950: '#000000',
  },
}
SCSS
$custom: #bb37b1;
$custom-light: #d37ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb37b1",
  "rgb": {
    "r": 187,
    "g": 55,
    "b": 177
  },
  "hsl": {
    "h": 304.545,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57626,
    "c": 0.2134,
    "h": 331.2
  },
  "luminance": 0.16471
}

Semantic roles & 50–950 ramp

primary
#BB37B1
secondary
#85C98A
accent
#DE554A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB37B1

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

Preview Lab → · Contrast checker → · Palette generator →

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