#BB1FAB#BB1FAB

#BB1FAB is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.6% C 0.231 H 333.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#BB1FAB
RGBrgb(187, 31, 171)
HSLhsl(306, 72%, 43%)
HSVhsv(306, 83%, 73%)
CMYKcmyk(0%, 83.4%, 8.6%, 26.7%)
CIE-LABlab(44.92, 71.41, -37.99)
CIE-LCHlch(44.92, 80.88, 331.99°)
OKLaboklab(55.62% 0.2065 -0.1045)
OKLCHoklch(55.62% 0.231 333.2)
XYZxyz(28.3344, 14.4876, 39.8243)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB1FAB #1FBB2F
analogous
#7D1FBB #BB1FAB #BB1F5D
triadic
#BB1FAB #ABBB1F #1FABBB
tetradic
#BB1FAB #BB7D1F #1FBB2F #1F5DBB
square
#BB1FAB #BB7D1F #1FBB2F #1F5DBB
split-complementary
#BB1FAB #5DBB1F #1FBB7D
monochromatic
#520E4B #87167B #BB1FAB #DE39CD #E76EDA

Accessibility & contrast

On white

5.39
#BB1FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#BB1FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB1FAB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB1FAB#FFFFFF#000000##FFFFFF
##BB1FAB1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135CAE
Deuteranopia (green-blind)
#5A72A8
Tritanopia (blue-blind)
#C43467
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb1fab;
/* rgb */ color: rgb(187, 31, 171);
/* oklch */ color: oklch(55.6% 0.231 333.2);
Tailwind
colors: {
  custom: {
    50: '#d471c4',
    500: '#bb1fab',
    950: '#000000',
  },
}
SCSS
$custom: #bb1fab;
$custom-light: #d471c4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb1fab",
  "rgb": {
    "r": 187,
    "g": 31,
    "b": 171
  },
  "hsl": {
    "h": 306.154,
    "s": 71.56,
    "l": 42.745
  },
  "oklch": {
    "l": 0.55616,
    "c": 0.23146,
    "h": 333.2
  },
  "luminance": 0.14485
}

Semantic roles & 50–950 ramp

primary
#BB1FAB
secondary
#69CD73
accent
#EE4C3A
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BB1FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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