#BB2FAB#BB2FAB

#BB2FAB is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.6% C 0.218 H 333.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#BB2FAB
RGBrgb(187, 47, 171)
HSLhsl(307, 60%, 46%)
HSVhsv(307, 75%, 73%)
CMYKcmyk(0%, 74.9%, 8.6%, 26.7%)
CIE-LABlab(46.37, 67.25, -35.71)
CIE-LCHlch(46.37, 76.14, 332.03°)
OKLaboklab(56.65% 0.1944 -0.098)
OKLCHoklch(56.65% 0.218 333.2)
XYZxyz(28.8609, 15.5406, 39.9998)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2FAB #2FBB3F
analogous
#852FBB #BB2FAB #BB2F65
triadic
#BB2FAB #ABBB2F #2FABBB
tetradic
#BB2FAB #BB852F #2FBB3F #2F65BB
square
#BB2FAB #BB852F #2FBB3F #2F65BB
split-complementary
#BB2FAB #65BB2F #2FBB85
monochromatic
#591652 #8A237E #BB2FAB #D453C5 #E084D6

Accessibility & contrast

On white

5.11
#BB2FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#BB2FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2FAB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2FAB#FFFFFF#000000##FFFFFF
##BB2FAB1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2961AE
Deuteranopia (green-blind)
#5F75A8
Tritanopia (blue-blind)
#C43E6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb2fab;
/* rgb */ color: rgb(187, 47, 171);
/* oklch */ color: oklch(56.6% 0.218 333.2);
Tailwind
colors: {
  custom: {
    50: '#d376c4',
    500: '#bb2fab',
    950: '#000000',
  },
}
SCSS
$custom: #bb2fab;
$custom-light: #d376c4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2fab",
  "rgb": {
    "r": 187,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 306.857,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56647,
    "c": 0.21766,
    "h": 333.2
  },
  "luminance": 0.15538
}

Semantic roles & 50–950 ramp

primary
#BB2FAB
secondary
#7CC985
accent
#E35745
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB2FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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