#BB50BB#BB50BB

#BB50BB is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.8% C 0.188 H 327.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#BB50BB
RGBrgb(187, 80, 187)
HSLhsl(300, 44%, 52%)
HSVhsv(300, 57%, 73%)
CMYKcmyk(0%, 57.2%, 0%, 26.7%)
CIE-LABlab(51.71, 57.16, -36.66)
CIE-LCHlch(51.71, 67.90, 327.32°)
OKLaboklab(60.78% 0.1591 -0.101)
OKLCHoklch(60.78% 0.188 327.6)
XYZxyz(32.3313, 19.8920, 49.1407)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB50BB #50BB50
analogous
#8650BB #BB50BB #BB5086
triadic
#BB50BB #BBBB50 #50BBBB
tetradic
#BB50BB #BB8650 #50BB50 #5086BB
square
#BB50BB #BB8650 #50BB50 #5086BB
split-complementary
#BB50BB #86BB50 #50BB86
monochromatic
#682868 #943A94 #BB50BB #CC7CCC #DDA8DD

Accessibility & contrast

On white

4.22
#BB50BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#BB50BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB50BB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB50BB#FFFFFF#000000##000000
##BB50BB1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4472BE
Deuteranopia (green-blind)
#6880B8
Tritanopia (blue-blind)
#C05D7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bb50bb;
/* rgb */ color: rgb(187, 80, 187);
/* oklch */ color: oklch(60.8% 0.188 327.6);
Tailwind
colors: {
  custom: {
    50: '#d287d0',
    500: '#bb50bb',
    950: '#000000',
  },
}
SCSS
$custom: #bb50bb;
$custom-light: #d287d0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb50bb",
  "rgb": {
    "r": 187,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 300,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60781,
    "c": 0.18843,
    "h": 327.6
  },
  "luminance": 0.1989
}

Semantic roles & 50–950 ramp

primary
#BB50BB
secondary
#9CCB9C
accent
#D45454
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BB50BB

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

Preview Lab → · Contrast checker → · Palette generator →

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