#BB1FA9#BB1FA9

#BB1FA9 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.5% C 0.230 H 333.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#BB1FA9
RGBrgb(187, 31, 169)
HSLhsl(307, 72%, 43%)
HSVhsv(307, 83%, 73%)
CMYKcmyk(0%, 83.4%, 9.6%, 26.7%)
CIE-LABlab(44.82, 71.12, -36.97)
CIE-LCHlch(44.82, 80.15, 332.53°)
OKLaboklab(55.51% 0.2065 -0.1015)
OKLCHoklch(55.51% 0.23 333.8)
XYZxyz(28.1452, 14.4119, 38.8279)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB1FA9 #1FBB31
analogous
#7F1FBB #BB1FA9 #BB1F5B
triadic
#BB1FA9 #A9BB1F #1FA9BB
tetradic
#BB1FA9 #BB7F1F #1FBB31 #1F5BBB
square
#BB1FA9 #BB7F1F #1FBB31 #1F5BBB
split-complementary
#BB1FA9 #5BBB1F #1FBB7F
monochromatic
#520E4A #87167A #BB1FA9 #DE39CB #E76ED9

Accessibility & contrast

On white

5.41
#BB1FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#BB1FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB1FA9
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB1FA9#FFFFFF#000000##FFFFFF
##BB1FA91.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175CAC
Deuteranopia (green-blind)
#5B72A6
Tritanopia (blue-blind)
#C43266
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb1fa9;
/* rgb */ color: rgb(187, 31, 169);
/* oklch */ color: oklch(55.5% 0.230 333.8);
Tailwind
colors: {
  custom: {
    50: '#d471c3',
    500: '#bb1fa9',
    950: '#000000',
  },
}
SCSS
$custom: #bb1fa9;
$custom-light: #d471c3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb1fa9",
  "rgb": {
    "r": 187,
    "g": 31,
    "b": 169
  },
  "hsl": {
    "h": 306.923,
    "s": 71.56,
    "l": 42.745
  },
  "oklch": {
    "l": 0.55506,
    "c": 0.23013,
    "h": 333.8
  },
  "luminance": 0.14409
}

Semantic roles & 50–950 ramp

primary
#BB1FA9
secondary
#69CD74
accent
#EE4E3A
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150912
muted
#837B81

Preview Lab

Preview with #BB1FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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