#BB50B4#BB50B4

#BB50B4 is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.4% C 0.182 H 330.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BB50B4
RGBrgb(187, 80, 180)
HSLhsl(304, 44%, 52%)
HSVhsv(304, 57%, 73%)
CMYKcmyk(0%, 57.2%, 3.7%, 26.7%)
CIE-LABlab(51.38, 55.94, -33.12)
CIE-LCHlch(51.38, 65.01, 329.37°)
OKLaboklab(60.43% 0.1583 -0.0908)
OKLCHoklch(60.43% 0.182 330.1)
XYZxyz(31.6002, 19.5995, 45.2898)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB50B4 #50BB57
analogous
#8C50BB #BB50B4 #BB507F
triadic
#BB50B4 #B4BB50 #50B4BB
tetradic
#BB50B4 #BB8C50 #50BB57 #507FBB
square
#BB50B4 #BB8C50 #50BB57 #507FBB
split-complementary
#BB50B4 #7FBB50 #50BB8C
monochromatic
#682864 #943A8E #BB50B4 #CC7CC7 #DDA8DA

Accessibility & contrast

On white

4.27
#BB50B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#BB50B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB50B4
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB50B4#FFFFFF#000000##000000
##BB50B41.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4971B7
Deuteranopia (green-blind)
#6B80B1
Tritanopia (blue-blind)
#C15A7B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb50b4;
/* rgb */ color: rgb(187, 80, 180);
/* oklch */ color: oklch(60.4% 0.182 330.1);
Tailwind
colors: {
  custom: {
    50: '#d287cb',
    500: '#bb50b4',
    950: '#000000',
  },
}
SCSS
$custom: #bb50b4;
$custom-light: #d287cb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb50b4",
  "rgb": {
    "r": 187,
    "g": 80,
    "b": 180
  },
  "hsl": {
    "h": 303.925,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60428,
    "c": 0.18247,
    "h": 330.1
  },
  "luminance": 0.19597
}

Semantic roles & 50–950 ramp

primary
#BB50B4
secondary
#9CCB9F
accent
#D45C54
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB50B4

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

Preview Lab → · Contrast checker → · Palette generator →

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