#BB1BA5#BB1BA5

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

Color values

HEX#BB1BA5
RGBrgb(187, 27, 165)
HSLhsl(308, 75%, 42%)
HSVhsv(308, 86%, 73%)
CMYKcmyk(0%, 85.6%, 11.8%, 26.7%)
CIE-LABlab(44.33, 71.37, -35.36)
CIE-LCHlch(44.33, 79.64, 333.65°)
OKLaboklab(55.09% 0.2088 -0.0969)
OKLCHoklch(55.09% 0.23 335.1)
XYZxyz(27.6774, 14.0679, 36.8477)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB1BA5 #1BBB31
analogous
#811BBB #BB1BA5 #BB1B55
triadic
#BB1BA5 #A5BB1B #1BA5BB
tetradic
#BB1BA5 #BB811B #1BBB31 #1B55BB
square
#BB1BA5 #BB811B #1BBB31 #1B55BB
split-complementary
#BB1BA5 #55BB1B #1BBB81
monochromatic
#500C47 #861376 #BB1BA5 #E132C9 #E967D7

Accessibility & contrast

On white

5.51
#BB1BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#BB1BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB1BA5
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB1BA5#FFFFFF#000000##FFFFFF
##BB1BA51.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5AA8
Deuteranopia (green-blind)
#5C71A2
Tritanopia (blue-blind)
#C52D63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #bb1ba5;
/* rgb */ color: rgb(187, 27, 165);
/* oklch */ color: oklch(55.1% 0.230 335.1);
Tailwind
colors: {
  custom: {
    50: '#d470c0',
    500: '#bb1ba5',
    950: '#000000',
  },
}
SCSS
$custom: #bb1ba5;
$custom-light: #d470c0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb1ba5",
  "rgb": {
    "r": 187,
    "g": 27,
    "b": 165
  },
  "hsl": {
    "h": 308.25,
    "s": 74.766,
    "l": 41.961
  },
  "oklch": {
    "l": 0.55091,
    "c": 0.23019,
    "h": 335.1
  },
  "luminance": 0.14065
}

Semantic roles & 50–950 ramp

primary
#BB1BA5
secondary
#63CE72
accent
#F15036
background
#FDF7FB
surface
#FBEDF7
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB1BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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