#BB1FA8#BB1FA8

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

Color values

HEX#BB1FA8
RGBrgb(187, 31, 168)
HSLhsl(307, 72%, 43%)
HSVhsv(307, 83%, 73%)
CMYKcmyk(0%, 83.4%, 10.2%, 26.7%)
CIE-LABlab(44.77, 70.98, -36.46)
CIE-LCHlch(44.77, 79.79, 332.81°)
OKLaboklab(55.45% 0.2065 -0.1001)
OKLCHoklch(55.45% 0.229 334.1)
XYZxyz(28.0517, 14.3745, 38.3354)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB1FA8 #1FBB32
analogous
#801FBB #BB1FA8 #BB1F5A
triadic
#BB1FA8 #A8BB1F #1FA8BB
tetradic
#BB1FA8 #BB801F #1FBB32 #1F5ABB
square
#BB1FA8 #BB801F #1FBB32 #1F5ABB
split-complementary
#BB1FA8 #5ABB1F #1FBB80
monochromatic
#520E4A #871679 #BB1FA8 #DE39CA #E76ED8

Accessibility & contrast

On white

5.42
#BB1FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB1FA8
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB1FA8#FFFFFF#000000##FFFFFF
##BB1FA81.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195CAB
Deuteranopia (green-blind)
#5B72A5
Tritanopia (blue-blind)
#C43265
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb1fa8;
/* rgb */ color: rgb(187, 31, 168);
/* oklch */ color: oklch(55.5% 0.229 334.1);
Tailwind
colors: {
  custom: {
    50: '#d471c2',
    500: '#bb1fa8',
    950: '#000000',
  },
}
SCSS
$custom: #bb1fa8;
$custom-light: #d471c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb1fa8",
  "rgb": {
    "r": 187,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 307.308,
    "s": 71.56,
    "l": 42.745
  },
  "oklch": {
    "l": 0.55451,
    "c": 0.22947,
    "h": 334.1
  },
  "luminance": 0.14372
}

Semantic roles & 50–950 ramp

primary
#BB1FA8
secondary
#69CD75
accent
#EE503A
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150912
muted
#837B81

Preview Lab

Preview with #BB1FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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