#BB37B2#BB37B2

#BB37B2 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.7% C 0.214 H 330.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BB37B2
RGBrgb(187, 55, 178)
HSLhsl(304, 55%, 47%)
HSVhsv(304, 71%, 73%)
CMYKcmyk(0%, 70.6%, 4.8%, 26.7%)
CIE-LABlab(47.64, 65.72, -37.83)
CIE-LCHlch(47.64, 75.83, 330.08°)
OKLaboklab(57.68% 0.1871 -0.1042)
OKLCHoklch(57.68% 0.214 330.9)
XYZxyz(29.8955, 16.5139, 43.7238)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB37B2 #37BB40
analogous
#8237BB #BB37B2 #BB3770
triadic
#BB37B2 #B2BB37 #37B2BB
tetradic
#BB37B2 #BB8237 #37BB40 #3770BB
square
#BB37B2 #BB8237 #37BB40 #3770BB
split-complementary
#BB37B2 #70BB37 #37BB82
monochromatic
#5C1B58 #8C2985 #BB37B2 #D05FC8 #DE8ED8

Accessibility & contrast

On white

4.88
#BB37B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#BB37B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB37B2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB37B2#FFFFFF#000000##FFFFFF
##BB37B21.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C65B5
Deuteranopia (green-blind)
#5F77AF
Tritanopia (blue-blind)
#C24771
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bb37b2;
/* rgb */ color: rgb(187, 55, 178);
/* oklch */ color: oklch(57.7% 0.214 330.9);
Tailwind
colors: {
  custom: {
    50: '#d37ac9',
    500: '#bb37b2',
    950: '#000000',
  },
}
SCSS
$custom: #bb37b2;
$custom-light: #d37ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb37b2",
  "rgb": {
    "r": 187,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 304.091,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5768,
    "c": 0.21415,
    "h": 330.9
  },
  "luminance": 0.16512
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB37B2

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

Preview Lab → · Contrast checker → · Palette generator →

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