#BB4CB1#BB4CB1

#BB4CB1 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.8% C 0.186 H 331.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#BB4CB1
RGBrgb(187, 76, 177)
HSLhsl(305, 45%, 52%)
HSVhsv(305, 59%, 73%)
CMYKcmyk(0%, 59.4%, 5.3%, 26.7%)
CIE-LABlab(50.58, 57.23, -32.62)
CIE-LCHlch(50.58, 65.88, 330.32°)
OKLaboklab(59.8% 0.163 -0.0893)
OKLCHoklch(59.8% 0.186 331.3)
XYZxyz(31.0137, 18.9102, 43.6030)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4CB1 #4CBB56
analogous
#8E4CBB #BB4CB1 #BB4C7A
triadic
#BB4CB1 #B1BB4C #4CB1BB
tetradic
#BB4CB1 #BB8E4C #4CBB56 #4C7ABB
square
#BB4CB1 #BB8E4C #4CBB56 #4C7ABB
split-complementary
#BB4CB1 #7ABB4C #4CBB8E
monochromatic
#662760 #92388A #BB4CB1 #CC78C4 #DDA5D8

Accessibility & contrast

On white

4.39
#BB4CB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#BB4CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4CB1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4CB1#FFFFFF#000000##000000
##BB4CB11.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#466EB4
Deuteranopia (green-blind)
#6A7EAE
Tritanopia (blue-blind)
#C25677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb4cb1;
/* rgb */ color: rgb(187, 76, 177);
/* oklch */ color: oklch(59.8% 0.186 331.3);
Tailwind
colors: {
  custom: {
    50: '#d284c8',
    500: '#bb4cb1',
    950: '#000000',
  },
}
SCSS
$custom: #bb4cb1;
$custom-light: #d284c8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4cb1",
  "rgb": {
    "r": 187,
    "g": 76,
    "b": 177
  },
  "hsl": {
    "h": 305.405,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59797,
    "c": 0.18591,
    "h": 331.3
  },
  "luminance": 0.18908
}

Semantic roles & 50–950 ramp

primary
#BB4CB1
secondary
#99CA9D
accent
#D55F53
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BB4CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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