#BB1BA6#BB1BA6

#BB1BA6 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.1% C 0.231 H 334.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#BB1BA6
RGBrgb(187, 27, 166)
HSLhsl(308, 75%, 42%)
HSVhsv(308, 86%, 73%)
CMYKcmyk(0%, 85.6%, 11.2%, 26.7%)
CIE-LABlab(44.38, 71.51, -35.87)
CIE-LCHlch(44.38, 80.00, 333.36°)
OKLaboklab(55.15% 0.2088 -0.0984)
OKLCHoklch(55.15% 0.231 334.8)
XYZxyz(27.7688, 14.1045, 37.3290)
Luminance0.1410 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB1BA6 #1BBB30
analogous
#801BBB #BB1BA6 #BB1B56
triadic
#BB1BA6 #A6BB1B #1BA6BB
tetradic
#BB1BA6 #BB801B #1BBB30 #1B56BB
square
#BB1BA6 #BB801B #1BBB30 #1B56BB
split-complementary
#BB1BA6 #56BB1B #1BBB80
monochromatic
#500C47 #861377 #BB1BA6 #E132CA #E967D8

Accessibility & contrast

On white

5.50
#BB1BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#BB1BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB1BA6
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB1BA6#FFFFFF#000000##FFFFFF
##BB1BA61.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185AA9
Deuteranopia (green-blind)
#5B71A3
Tritanopia (blue-blind)
#C42E63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #bb1ba6;
/* rgb */ color: rgb(187, 27, 166);
/* oklch */ color: oklch(55.1% 0.231 334.8);
Tailwind
colors: {
  custom: {
    50: '#d470c1',
    500: '#bb1ba6',
    950: '#000000',
  },
}
SCSS
$custom: #bb1ba6;
$custom-light: #d470c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb1ba6",
  "rgb": {
    "r": 187,
    "g": 27,
    "b": 166
  },
  "hsl": {
    "h": 307.875,
    "s": 74.766,
    "l": 41.961
  },
  "oklch": {
    "l": 0.55145,
    "c": 0.23084,
    "h": 334.8
  },
  "luminance": 0.14102
}

Semantic roles & 50–950 ramp

primary
#BB1BA6
secondary
#63CE71
accent
#F14F36
background
#FDF7FB
surface
#FBEDF7
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB1BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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