#BB1FA7#BB1FA7

#BB1FA7 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.4% C 0.229 H 334.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#BB1FA7
RGBrgb(187, 31, 167)
HSLhsl(308, 72%, 43%)
HSVhsv(308, 83%, 73%)
CMYKcmyk(0%, 83.4%, 10.7%, 26.7%)
CIE-LABlab(44.71, 70.84, -35.94)
CIE-LCHlch(44.71, 79.43, 333.10°)
OKLaboklab(55.4% 0.2065 -0.0986)
OKLCHoklch(55.4% 0.229 334.5)
XYZxyz(27.9589, 14.3374, 37.8466)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB1FA7 #1FBB33
analogous
#811FBB #BB1FA7 #BB1F59
triadic
#BB1FA7 #A7BB1F #1FA7BB
tetradic
#BB1FA7 #BB811F #1FBB33 #1F59BB
square
#BB1FA7 #BB811F #1FBB33 #1F59BB
split-complementary
#BB1FA7 #59BB1F #1FBB81
monochromatic
#520E49 #871678 #BB1FA7 #DE39C9 #E76ED7

Accessibility & contrast

On white

5.43
#BB1FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#BB1FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB1FA7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB1FA7#FFFFFF#000000##FFFFFF
##BB1FA71.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5CAA
Deuteranopia (green-blind)
#5C72A4
Tritanopia (blue-blind)
#C43165
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb1fa7;
/* rgb */ color: rgb(187, 31, 167);
/* oklch */ color: oklch(55.4% 0.229 334.5);
Tailwind
colors: {
  custom: {
    50: '#d471c1',
    500: '#bb1fa7',
    950: '#000000',
  },
}
SCSS
$custom: #bb1fa7;
$custom-light: #d471c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb1fa7",
  "rgb": {
    "r": 187,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 307.692,
    "s": 71.56,
    "l": 42.745
  },
  "oklch": {
    "l": 0.55397,
    "c": 0.2288,
    "h": 334.5
  },
  "luminance": 0.14335
}

Semantic roles & 50–950 ramp

primary
#BB1FA7
secondary
#69CD76
accent
#EE513A
background
#FDF7FB
surface
#FBEDF7
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB1FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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