#BB1FA6#BB1FA6

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

Color values

HEX#BB1FA6
RGBrgb(187, 31, 166)
HSLhsl(308, 72%, 43%)
HSVhsv(308, 83%, 73%)
CMYKcmyk(0%, 83.4%, 11.2%, 26.7%)
CIE-LABlab(44.66, 70.70, -35.43)
CIE-LCHlch(44.66, 79.08, 333.38°)
OKLaboklab(55.34% 0.2064 -0.0971)
OKLCHoklch(55.34% 0.228 334.8)
XYZxyz(27.8668, 14.3005, 37.3617)
Luminance0.1430 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB1FA6 #1FBB34
analogous
#821FBB #BB1FA6 #BB1F58
triadic
#BB1FA6 #A6BB1F #1FA6BB
tetradic
#BB1FA6 #BB821F #1FBB34 #1F58BB
square
#BB1FA6 #BB821F #1FBB34 #1F58BB
split-complementary
#BB1FA6 #58BB1F #1FBB82
monochromatic
#520E49 #871677 #BB1FA6 #DE39C8 #E76ED7

Accessibility & contrast

On white

5.44
#BB1FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#BB1FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB1FA6
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB1FA6#FFFFFF#000000##FFFFFF
##BB1FA61.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5BA9
Deuteranopia (green-blind)
#5C71A3
Tritanopia (blue-blind)
#C43064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb1fa6;
/* rgb */ color: rgb(187, 31, 166);
/* oklch */ color: oklch(55.3% 0.228 334.8);
Tailwind
colors: {
  custom: {
    50: '#d471c1',
    500: '#bb1fa6',
    950: '#000000',
  },
}
SCSS
$custom: #bb1fa6;
$custom-light: #d471c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb1fa6",
  "rgb": {
    "r": 187,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 308.077,
    "s": 71.56,
    "l": 42.745
  },
  "oklch": {
    "l": 0.55343,
    "c": 0.22814,
    "h": 334.8
  },
  "luminance": 0.14298
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB1FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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