#BB37BB#BB37BB

#BB37BB is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.2% C 0.221 H 328.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#BB37BB
RGBrgb(187, 55, 187)
HSLhsl(300, 55%, 47%)
HSVhsv(300, 71%, 73%)
CMYKcmyk(0%, 70.6%, 0%, 26.7%)
CIE-LABlab(48.12, 67.17, -42.34)
CIE-LCHlch(48.12, 79.40, 327.77°)
OKLaboklab(58.18% 0.1874 -0.1172)
OKLCHoklch(58.18% 0.221 328)
XYZxyz(30.8290, 16.8872, 48.6399)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB37BB #37BB37
analogous
#7937BB #BB37BB #BB3779
triadic
#BB37BB #BBBB37 #37BBBB
tetradic
#BB37BB #BB7937 #37BB37 #3779BB
square
#BB37BB #BB7937 #37BB37 #3779BB
split-complementary
#BB37BB #79BB37 #37BB79
monochromatic
#5C1B5C #8C298C #BB37BB #D05FD0 #DE8EDE

Accessibility & contrast

On white

4.80
#BB37BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#BB37BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB37BB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB37BB#FFFFFF#000000##FFFFFF
##BB37BB1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2067BF
Deuteranopia (green-blind)
#5A78B8
Tritanopia (blue-blind)
#C14B76
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bb37bb;
/* rgb */ color: rgb(187, 55, 187);
/* oklch */ color: oklch(58.2% 0.221 328.0);
Tailwind
colors: {
  custom: {
    50: '#d37ad0',
    500: '#bb37bb',
    950: '#000000',
  },
}
SCSS
$custom: #bb37bb;
$custom-light: #d37ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb37bb",
  "rgb": {
    "r": 187,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 300,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58176,
    "c": 0.22102,
    "h": 328
  },
  "luminance": 0.16885
}

Semantic roles & 50–950 ramp

primary
#BB37BB
secondary
#85C985
accent
#DE4A4A
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BB37BB

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

Preview Lab → · Contrast checker → · Palette generator →

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