#BB1FAA#BB1FAA

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

Color values

HEX#BB1FAA
RGBrgb(187, 31, 170)
HSLhsl(307, 72%, 43%)
HSVhsv(307, 83%, 73%)
CMYKcmyk(0%, 83.4%, 9.1%, 26.7%)
CIE-LABlab(44.87, 71.26, -37.48)
CIE-LCHlch(44.87, 80.52, 332.26°)
OKLaboklab(55.56% 0.2065 -0.103)
OKLCHoklch(55.56% 0.231 333.5)
XYZxyz(28.2395, 14.4496, 39.3242)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB1FAA #1FBB30
analogous
#7E1FBB #BB1FAA #BB1F5C
triadic
#BB1FAA #AABB1F #1FAABB
tetradic
#BB1FAA #BB7E1F #1FBB30 #1F5CBB
square
#BB1FAA #BB7E1F #1FBB30 #1F5CBB
split-complementary
#BB1FAA #5CBB1F #1FBB7E
monochromatic
#520E4B #87167A #BB1FAA #DE39CC #E76EDA

Accessibility & contrast

On white

5.40
#BB1FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#BB1FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB1FAA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB1FAA#FFFFFF#000000##FFFFFF
##BB1FAA1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155CAD
Deuteranopia (green-blind)
#5A72A7
Tritanopia (blue-blind)
#C43366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb1faa;
/* rgb */ color: rgb(187, 31, 170);
/* oklch */ color: oklch(55.6% 0.231 333.5);
Tailwind
colors: {
  custom: {
    50: '#d471c4',
    500: '#bb1faa',
    950: '#000000',
  },
}
SCSS
$custom: #bb1faa;
$custom-light: #d471c4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb1faa",
  "rgb": {
    "r": 187,
    "g": 31,
    "b": 170
  },
  "hsl": {
    "h": 306.538,
    "s": 71.56,
    "l": 42.745
  },
  "oklch": {
    "l": 0.55561,
    "c": 0.23079,
    "h": 333.5
  },
  "luminance": 0.14447
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB1FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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