#BB1FA5#BB1FA5

#BB1FA5 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.3% C 0.227 H 335.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#BB1FA5
RGBrgb(187, 31, 165)
HSLhsl(308, 72%, 43%)
HSVhsv(308, 83%, 73%)
CMYKcmyk(0%, 83.4%, 11.8%, 26.7%)
CIE-LABlab(44.61, 70.55, -34.92)
CIE-LCHlch(44.61, 78.72, 333.67°)
OKLaboklab(55.29% 0.2064 -0.0956)
OKLCHoklch(55.29% 0.227 335.1)
XYZxyz(27.7755, 14.2640, 36.8804)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB1FA5 #1FBB35
analogous
#831FBB #BB1FA5 #BB1F57
triadic
#BB1FA5 #A5BB1F #1FA5BB
tetradic
#BB1FA5 #BB831F #1FBB35 #1F57BB
square
#BB1FA5 #BB831F #1FBB35 #1F57BB
split-complementary
#BB1FA5 #57BB1F #1FBB83
monochromatic
#520E48 #871677 #BB1FA5 #DE39C7 #E76ED6

Accessibility & contrast

On white

5.45
#BB1FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#BB1FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB1FA5
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB1FA5#FFFFFF#000000##FFFFFF
##BB1FA51.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5BA8
Deuteranopia (green-blind)
#5D71A2
Tritanopia (blue-blind)
#C53064
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #bb1fa5;
/* rgb */ color: rgb(187, 31, 165);
/* oklch */ color: oklch(55.3% 0.227 335.1);
Tailwind
colors: {
  custom: {
    50: '#d471c0',
    500: '#bb1fa5',
    950: '#000000',
  },
}
SCSS
$custom: #bb1fa5;
$custom-light: #d471c0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb1fa5",
  "rgb": {
    "r": 187,
    "g": 31,
    "b": 165
  },
  "hsl": {
    "h": 308.462,
    "s": 71.56,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5529,
    "c": 0.22748,
    "h": 335.1
  },
  "luminance": 0.14261
}

Semantic roles & 50–950 ramp

primary
#BB1FA5
secondary
#69CD77
accent
#EE533A
background
#FDF7FB
surface
#FBEDF7
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB1FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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