#BB50B1#BB50B1

#BB50B1 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.3% C 0.180 H 331.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#BB50B1
RGBrgb(187, 80, 177)
HSLhsl(306, 44%, 52%)
HSVhsv(306, 57%, 73%)
CMYKcmyk(0%, 57.2%, 5.3%, 26.7%)
CIE-LABlab(51.24, 55.43, -31.59)
CIE-LCHlch(51.24, 63.80, 330.32°)
OKLaboklab(60.28% 0.1579 -0.0864)
OKLCHoklch(60.28% 0.18 331.3)
XYZxyz(31.2979, 19.4786, 43.6977)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB50B1 #50BB5A
analogous
#8F50BB #BB50B1 #BB507C
triadic
#BB50B1 #B1BB50 #50B1BB
tetradic
#BB50B1 #BB8F50 #50BB5A #507CBB
square
#BB50B1 #BB8F50 #50BB5A #507CBB
split-complementary
#BB50B1 #7CBB50 #50BB8F
monochromatic
#682862 #943A8C #BB50B1 #CC7CC5 #DDA8D8

Accessibility & contrast

On white

4.29
#BB50B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#BB50B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB50B1
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB50B1#FFFFFF#000000##000000
##BB50B11.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B4
Deuteranopia (green-blind)
#6C7FAE
Tritanopia (blue-blind)
#C25979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb50b1;
/* rgb */ color: rgb(187, 80, 177);
/* oklch */ color: oklch(60.3% 0.180 331.3);
Tailwind
colors: {
  custom: {
    50: '#d287c8',
    500: '#bb50b1',
    950: '#000000',
  },
}
SCSS
$custom: #bb50b1;
$custom-light: #d287c8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb50b1",
  "rgb": {
    "r": 187,
    "g": 80,
    "b": 177
  },
  "hsl": {
    "h": 305.607,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60281,
    "c": 0.17996,
    "h": 331.3
  },
  "luminance": 0.19476
}

Semantic roles & 50–950 ramp

primary
#BB50B1
secondary
#9CCBA0
accent
#D46054
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB50B1

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

Preview Lab → · Contrast checker → · Palette generator →

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